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

Implement a "connection-helper" as specified in the GraphQL-Spec #148

Open
asishallab opened this issue Aug 27, 2020 · 0 comments
Open

Implement a "connection-helper" as specified in the GraphQL-Spec #148

asishallab opened this issue Aug 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@asishallab
Copy link
Member

In Zendro cursor based pagination returns a connection object adhering to the standard defined for GraphQL. See these sources:

In the first specification you find the example of a helper that implements a short-cut avoiding the explicit querying of edges->nodes and offers direct access to the records contained in a connection.

Implement this helper in Zendro using a reference to the very record-array used in the connection object. The reference ensures that computational resources, in this case memory, will not be exhausted.

@asishallab asishallab added the enhancement New feature or request label Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants