apollo-server icon indicating copy to clipboard operation
apollo-server copied to clipboard

docs: Add more schema docs around lists

Open WolffRuoff opened this issue 1 year ago • 2 comments

This PR adds more documentation around lists in the schema basics documentation page. More specifically it adds the following:

  • Explicitly state that nested lists work as defined here in the GraphQL spec.
  • Add a table with examples for list nullability. I've found that list nullability is often a hurdle for new GraphQL developers and a table with examples will hopefully make this concept a lot easier to understand

This is my first PR here so please let me know if I did anything wrong or how I can improve to better match the documentation style 😄.

WolffRuoff avatar Feb 06 '24 18:02 WolffRuoff

Deploy request for apollo-server-docs pending review.

Visit the deploys page to approve it

Name Link
Latest commit 70dfb842c9a4298c01667b081a70f44001dfd9e8

netlify[bot] avatar Feb 06 '24 18:02 netlify[bot]

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 70dfb842c9a4298c01667b081a70f44001dfd9e8:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

codesandbox-ci[bot] avatar Feb 06 '24 18:02 codesandbox-ci[bot]