Package com.expediagroup.graphql.generator.federation.directives
See: Description
-
Annotation Summary Annotation Description ExtendsDirective
Extends directive is used to represent type extensions in the schema.directive @extends on OBJECT | INTERFACE
ExternalDirective
The @external directive is used to mark a field as owned by another service.directive @external on FIELD_DEFINITION
FieldSet Annotation representing _FieldSet scalar type that is used to represent a set of fields. KeyDirective
The @key directive is used to indicate a combination of fields that can be used to uniquely identify and fetch an object or interface.directive @key(fields: _FieldSet!) repeatable on OBJECT | INTERFACE
ProvidesDirective
The @provides directive is used to annotate the expected returned fieldset from a field on a base type that is guaranteed to be selectable by the gateway.directive @provides(fields: _FieldSet!) on FIELD_DEFINITION
RequiresDirective
The @requires directive is used to annotate the required input field set from a base type for a resolver.directive @requires(fields: _FieldSet!) on FIELD_DEFINITON