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

Fix custom fruit pagination example #3363

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

eudago
Copy link
Member

@eudago eudago commented Jan 28, 2024

I was reading the relay pagination and found this little bug, indeed the code works, but not as expected (you can find more information in this discussion thread).

Description

Fixed Fruit Custom Pagination to understand the relay pagination

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Copy link
Member

@DoctorJohn DoctorJohn left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @eudago! Looks like the docs only outlined how to use a custom paginated connection, your changes make the example behave like expected.

@DoctorJohn DoctorJohn merged commit 1a694e4 into strawberry-graphql:main Feb 26, 2024
4 checks passed
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.

None yet

2 participants