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

Better pagination support #894

Open
James-Mart opened this issue Oct 23, 2024 · 0 comments
Open

Better pagination support #894

James-Mart opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
Dev Experience Related to the experience of developers
Milestone

Comments

@James-Mart
Copy link
Member

Plugins may want to expose paginated graphql queries to front-ends.

For this, we probably want a PageInfo object exposed by the host that the plugin can attach to a graphql request, and the host knows how to modify the request to add pagination details. The plugin can then expose the PageInfo object in its functions to offer the UI pagination support.

Also, the query service will expose a graphql pagination schema, but under the hood if we are querying events it has to convert the pageinfo into an sql query. Confirm that the sqlite database can support everything expected re: pagination for a graphql user.

@James-Mart James-Mart added the Dev Experience Related to the experience of developers label Oct 23, 2024
@James-Mart James-Mart added this to the R3 milestone Oct 23, 2024
@James-Mart James-Mart self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Experience Related to the experience of developers
Projects
None yet
Development

No branches or pull requests

1 participant