concept directive in category graphql

This is an excerpt from Manning's book GraphQL in Action.
The
__schemafield can be used to read information about the API schema, like what types and directives it supports. We will explore directives in the next chapter.
A directive in a GraphQL request is a way to provide a GraphQL server with additional information about the execution and type validation behavior of a GraphQL document. It is essentially a more powerful version of field arguments because you can use directives to conditionally include or exclude the whole field. Also, besides fields, directives can be used with fragments and the top-level operations themselves.
A directive is any string in a GraphQL document that begins with the
@character. Every GraphQL schema has three built in directives:@include,@skip, and@deprecated. Some schemas will have more directives. You can see the list of directives supported by a schema using this introspective query: