Similar to Object, but defined on a structure that automatically generates getters for all fields. For a list of valid field types, see Object. All fields are converted to camelCase.
Rename all the fields according to the given case convention. The possible values are “lowercase”, “UPPERCASE”, “PascalCase”, “camelCase”, “snake_case”, “SCREAMING_SNAKE_CASE”.
Mark a field as owned by another service. This allows service A to use fields from service B while also knowing at runtime the types of that field.
bool
Y
provides
Annotate the expected returned fieldset from a field on a base type that is guaranteed to be selectable by the gateway.
string
Y
requires
Annotate the required input fieldset from a base type for a resolver. It is used to develop a query plan where the required fields may not be needed by the client, but the service may need additional information from other services.
string
Y
shareable
Indicate that a field is allowed to be resolved by multiple subgraphs
bool
Y
inaccessible
Indicate that a field is not accessible from a supergraph when using Apollo Federation
bool
Y
tag
Arbitrary string metadata that will be propagated to the supergraph when using Apollo Federation. This attribute is repeatable
string
Y
override_from
Mark the field as overriding a field currently present on another subgraph. It is used to migrate fields between subgraphs.