Skip to content

Commit

Permalink
docs: clarify @tag repeatable requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Sep 21, 2021
1 parent 9fb9fea commit e75ec8b
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion docs/source/supergraphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,21 @@ We aim to reduce the frequency at which these paired updates are necessary by ma
|Rover version|Gateway version|
|---|---|
|<= v0.2.x|<= v0.38.x|
|>= v0.3.x|>= v0.39.x|
|>= v0.3.x|>= v0.39.x|

##### `@tag` directives in newer versions of Rover/the gateway

When updating to a gateway >= v0.39.x, all subgraph schemas with `@tag` directives will need to make those types repeatable not only on `FIELD_DEFINITION`, but also on `OBJECT`, `INTERFACE`, and `UNION`.

Before:

```graphql
directive @tag(name: String!) repeatable on FIELD_DEFINITION
```

After:

```graphql
directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION
```

0 comments on commit e75ec8b

Please sign in to comment.