GraphQL-Gate icon indicating copy to clipboard operation
GraphQL-Gate copied to clipboard

Write tests for the connections pagination convention

Open evanmcneely opened this issue 3 years ago • 2 comments

Connections are configured to have a field weight of 2 but this is not reflected anywhere in the cost analysis. How should we handle this? Where does this come into play?

evanmcneely avatar Jul 19 '22 16:07 evanmcneely

Connections are a pagination convention, different than slicing arguments. See this paper or screen shots below.

https://github.com/Alan-Cha/fse20/blob/master/submissions/functional/FSE-24/graphql-paper.pdf

Image Image

evanmcneely avatar Jul 23 '22 00:07 evanmcneely

Connections can be handled with a combination of slicing arguments and directives. Confirm with tests and update documentation

evanmcneely avatar Aug 06 '22 21:08 evanmcneely