Add user-definable description property to fields #1385
Labels
area/query
Related to the query component
area/schema
Related to the schema system
feature
New feature or request
Add user-definable description property to fields (
client.FieldDescription
, GQL SDL, JsonPatch), and display the field-level description via the GQL type system (e.g. on the query-fields).GQL Descriptions in an SDL is defined in the spec: https://spec.graphql.org/October2021/#sec-Descriptions
Note: graphql-go does not support parsing of comments/descriptions from the SDL: graphql-go/graphql#116
Adding them via PatchCollection should be pretty trivial, we can always do that first, then figure out the SDL problem later. We could as a temporary workaround have a
@description
directive.Related to: #1386
The text was updated successfully, but these errors were encountered: