Skip to content

docs: document GraphQL select option for field projection - #17818

Open
MHJahanbakhsh wants to merge 1 commit into
payloadcms:mainfrom
MHJahanbakhsh:fix/docs-graphql-select-14465
Open

docs: document GraphQL select option for field projection#17818
MHJahanbakhsh wants to merge 1 commit into
payloadcms:mainfrom
MHJahanbakhsh:fix/docs-graphql-select-14465

Conversation

@MHJahanbakhsh

@MHJahanbakhsh MHJahanbakhsh commented Aug 16, 2026

Copy link
Copy Markdown

Description

Documents the GraphQL select boolean argument introduced in #13711 so users know how to enable database-level field projection from GraphQL queries.

  • Add a Select section to the GraphQL overview with an example
  • Add a GraphQL API section to the Select docs explaining that select: true derives the projection from the selection set
  • Mention Select (including GraphQL select: true) on the Performance overview under querying guidance

Fixes #14465

Testing

  • Docs match GraphQL resolver behavior (select?: boolean + selection-set projection)
  • Examples align with existing Local/REST Select docs and GraphQL tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation does not mention the GraphQL API select option

1 participant