To validate and transform content on the server after fetching the content through a GraphQL query, use a number of support directives in the GraphQL Schema Definition Language.
@source directive The @source directive remaps a field to another field by path (a relative path from the current position).
@globalSource directive The @globalSource directive remaps a field to another field by path (absolute in the JSON fragment).
@typeSource directive The @typeSource directive copies all fields from the object in $path into the declared object.
@raw directive The @raw directive returns the JSON of the object as a raw, escaped string.
@semantic directive The @semantic directive returns the data defined in the schema definitions