Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MBL-1447] Create fragments for PPO #2111

Merged
merged 3 commits into from
Aug 5, 2024
Merged

[MBL-1447] Create fragments for PPO #2111

merged 3 commits into from
Aug 5, 2024

Conversation

ifosli
Copy link
Contributor

@ifosli ifosli commented Aug 1, 2024

πŸ“² What

Create fragments for PPO, so that we can fetch exactly the data we need for the cards. These fragments can be updated to include more fields if we discover we need them.

πŸ‘€ See

Jira

βœ… Acceptance criteria

  • Project builds (I also mocked together an entire query using these fragments and it worked!)

@ifosli ifosli self-assigned this Aug 1, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fyi, this giant file is automatically generated (by a script that we run in terminal). I don't typically look through changes here (there's a lot of lines of code) unless something in our build breaks.

@ifosli ifosli marked this pull request as ready for review August 1, 2024 21:41
@nativeksr
Copy link
Collaborator

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

}
image {
id
url(width: 1024)
Copy link
Contributor

@scottkicks scottkicks Aug 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize you could add parameters in fragments like this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah! I think hardcoded parameters pretty much work the same as the ones we pass in. This one is just copied from our normal project fragment, though

@ifosli ifosli merged commit 30ecfd8 into main Aug 5, 2024
5 checks passed
@ifosli ifosli deleted the ppoFragments branch August 5, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants