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

Test pagination with photon & nexus (relay + simple) #423

Open
Weakky opened this issue Sep 24, 2019 · 1 comment
Open

Test pagination with photon & nexus (relay + simple) #423

Weakky opened this issue Sep 24, 2019 · 1 comment
Assignees
Labels
scope/resolving Relates to implementing resolvers type/question

Comments

@Weakky
Copy link
Member

Weakky commented Sep 24, 2019

Description

Make sure pagination can be done without friction with Photon & Nexus

@Weakky Weakky added scope/resolving Relates to implementing resolvers type/question labels Sep 24, 2019
@Weakky Weakky self-assigned this Sep 24, 2019
@Weakky Weakky added this to Backlog in Labs Team via automation Oct 15, 2019
@Weakky Weakky moved this from Backlog to In Progress in Labs Team Oct 15, 2019
@Weakky Weakky moved this from In Progress to Backlog in Labs Team Oct 15, 2019
@Weakky
Copy link
Member Author

Weakky commented Oct 15, 2019

Relay pagination

While the edges field of the relay connection spec can easily be implemented with Photon, the pageInfo field is currently a bit cumbersome to implement.

An issue is created on the nexus repo: prisma-labs/graphql-framework-experiment#267

TLDR is that pageInfo should probably be optional and should implement the official relay spec as default.

image

Simple pagination

Photon already supports simple pagination, so it's really just a matter of exposing the right arguments (first, last etc).

@jasonkuhrt jasonkuhrt moved this from Someday to This Quarter in Labs Team Jan 3, 2020
@jasonkuhrt jasonkuhrt removed this from This Quarter in Labs Team Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/resolving Relates to implementing resolvers type/question
Projects
None yet
Development

No branches or pull requests

1 participant