Skip to content

Commit f781668

Browse files
committed
update to router v1.0.0
1 parent 9e0b944 commit f781668

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
router:
3-
image: ghcr.io/apollographql/router:v1.0.0-alpha.0
3+
image: ghcr.io/apollographql/router:v1.0.0
44
volumes:
55
- ./router.yaml:/dist/config/router.yaml
66
- ./supergraph.graphql:/dist/config/supergraph.graphql

router.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
server:
1+
supergraph:
22
listen: 0.0.0.0:4000
33

44
cors:

supergraph-local.graphql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ type Product
8080
package: String @join__field(graph: PRODUCTS)
8181
variation: ProductVariation @join__field(graph: PRODUCTS)
8282
createdBy: User @join__field(graph: PRODUCTS, provides: "totalProductsCreated")
83-
notes: String @tag(name: "internal") @join__field(graph: PRODUCTS)
83+
notes: String @join__field(graph: PRODUCTS) @tag(name: "internal")
8484
research: [ProductResearch!]! @join__field(graph: PRODUCTS)
8585
}
8686

@@ -112,7 +112,7 @@ type Query
112112
@join__type(graph: USERS)
113113
{
114114
product(id: ID!): Product @join__field(graph: PRODUCTS)
115-
deprecatedProduct(sku: String!, package: String!): DeprecatedProduct @deprecated(reason: "Use product query instead") @join__field(graph: PRODUCTS)
115+
deprecatedProduct(sku: String!, package: String!): DeprecatedProduct @join__field(graph: PRODUCTS) @deprecated(reason: "Use product query instead")
116116
}
117117

118118
type User

0 commit comments

Comments
 (0)