Skip to content

Commit

Permalink
Fixed a little type FIELD_DEFINITON to FIELD_DEFINITION (#3974)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib authored Apr 13, 2020
1 parent bb77cf2 commit bc9b3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/federation/federation-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ When fetching `Review.product` from the Reviews service, it is possible to reque
### `@requires`

```graphql
directive @requires(fields: _FieldSet!) on FIELD_DEFINITON
directive @requires(fields: _FieldSet!) on FIELD_DEFINITION
```

The `@requires` directive is used to 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. For example:
Expand Down

0 comments on commit bc9b3ec

Please sign in to comment.