Skip to main content

doc

A directive that groups schema elements into documentation categories.

directive @doc(
category: String!
) on
| FIELD_DEFINITION
| OBJECT
| INPUT_OBJECT
| ENUM

Arguments​

doc.category ● String! non-null scalar common​

The documentation category n which to include the element.