Directives are provided via Gato GraphQL extensions. Here are only a few examples.
Create an operation pipeline via @depends
, and execute one of its operations conditionally, based on some dynamic value, via @skip
and @include
:
Transform a field to lower case via @strLowerCase
:
Provide a default value for the field via @default
:
Remove the field output from the response via @remove
:
Apply a function field on some field value, via @passOnwards
and @applyFunction
: