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

Apply auto pagination logic to the nested fields #163

Merged
merged 3 commits into from
Jul 22, 2022

Conversation

ardatan
Copy link
Member

@ardatan ardatan commented Jul 22, 2022

Closes #149

Now Auto Pagination transform can apply the same logic on the client side for the nested fields as well.

@changeset-bot
Copy link

changeset-bot bot commented Jul 22, 2022

🦋 Changeset detected

Latest commit: a0a45b7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@graphprotocol/client-auto-pagination Minor
@graphprotocol/client-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jul 22, 2022

The latest changes of this PR are available as canary in npm (based on the declared changesets):

@graphprotocol/client-auto-pagination@1.1.0-canary-0219187.0
@graphprotocol/client-cli@2.1.0-canary-0219187.0

Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
@ardatan ardatan requested a review from saihaj July 22, 2022 15:50
}
}
`
const result: any = await execute({
Copy link
Member

Choose a reason for hiding this comment

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

we should probably add some type safety to tests with codegen

@saihaj saihaj merged commit ac54503 into main Jul 22, 2022
@saihaj saihaj deleted the nested-fields-auto-pagination branch July 22, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto pagination does not work with nested first
2 participants