Archived: GitOps config repo for an Apollo GraphQL federated graph with a supergraph router and subgraph services deployed to Kubernetes.
27
stars
7
forks
source link
Bump supergraph-router@dev from 4db08ef to a0fcddb #78
Closed
supergraph-demo-bot closed 3 years ago
Bump supergraph-router@dev from 4db08ef to a0fcddb
supergraph-router@dev changes
```diff diff --git a/router/dev/supergraph.graphql b/router/dev/supergraph.graphql index 4b99d85..1a85b59 100644 --- a/router/dev/supergraph.graphql +++ b/router/dev/supergraph.graphql @@ -1,4 +1,4 @@ -schema @core(feature: "https://specs.apollo.dev/core/v0.1") @core(feature: "https://specs.apollo.dev/join/v0.1") @apollo_studio_metadata(launchId: "4af14b11-5dfb-4a93-ad69-68b00cde1a2f", buildId: "4af14b11-5dfb-4a93-ad69-68b00cde1a2f", checkId: null) { +schema @core(feature: "https://specs.apollo.dev/core/v0.1") @core(feature: "https://specs.apollo.dev/join/v0.1") @core(feature: "https://specs.apollo.dev/tag/v0.1") @apollo_studio_metadata(launchId: "691d78db-5f2e-4e6e-af4e-ee01cbf0eec5", buildId: "691d78db-5f2e-4e6e-af4e-ee01cbf0eec5", checkId: null) { query: Query } @@ -12,10 +12,7 @@ directive @join__owner(graph: join__Graph!) on OBJECT | INTERFACE directive @join__graph(name: String!, url: String!) on ENUM_VALUE -enum Color { - BLUE - GREEN -} +directive @tag(name: String!) repeatable on FIELD_DEFINITION type DeliveryEstimates { estimatedDelivery: String @@ -31,18 +28,18 @@ enum join__Graph { } type Product @join__owner(graph: PRODUCTS) @join__type(graph: PRODUCTS, key: "id") @join__type(graph: PRODUCTS, key: "sku package") @join__type(graph: PRODUCTS, key: "sku variation{id}") @join__type(graph: INVENTORY, key: "id") { - id: ID! @join__field(graph: PRODUCTS) - sku: String @join__field(graph: PRODUCTS) - package: String @join__field(graph: PRODUCTS) - variation: ProductVariation @join__field(graph: PRODUCTS) - dimensions: ProductDimension @join__field(graph: PRODUCTS) createdBy: User @join__field(graph: PRODUCTS, provides: "totalProductsCreated") delivery(zip: String): DeliveryEstimates @join__field(graph: INVENTORY, requires: "dimensions{size weight}") + dimensions: ProductDimension @join__field(graph: PRODUCTS) + id: ID! @join__field(graph: PRODUCTS) @tag(name: "hi from products") @tag(name: "hi from inventory") + package: String @join__field(graph: PRODUCTS) + sku: String @join__field(graph: PRODUCTS) @tag(name: "hi from products") + variation: ProductVariation @join__field(graph: PRODUCTS) } type ProductDimension { size: String - weight: Float + weight: Float @tag(name: "hi from inventory value type field") } type ProductVariation { ```