We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0352639 commit 736ac24Copy full SHA for 736ac24
docs/federated/federated-schemas.md
@@ -57,14 +57,14 @@ schema {
57
union _Entity = Product
58
59
type Product @key(fields : "id") {
60
- description: Int!
61
- id: String!
+ description: String!
+ id: Int!
62
}
63
64
type Query @extends {
65
_entities(representations: [_Any!]!): [_Entity]!
66
_service: _Service
67
- product(id: Int!): Product!
+ product(id: Int!): Product
68
69
70
type _Service {
@@ -149,7 +149,7 @@ schema {
149
150
type Product {
151
description: String!
152
153
reviews: [Review!]!
154
155
@@ -159,7 +159,7 @@ type Review {
159
160
161
type Query {
162
- product(id: String!): Product!
+ product(id: String!): Product
163
164
```
165
0 commit comments