You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a composition and one of the schemas does not parse successfully, a location (including ideally a reference to the schema file) could be displayed.
Repro where this is missing:
pcarrier@cat ~/repro> cupa *
--- 8< --- 8< --- demo.graphql --- 8< --- 8< ---
"Demo"
extend type Demo { id: ID! }
--- 8< --- 8< --- supergraph.yaml --- 8< --- 8< ---
subgraphs:
demo:
routing_url: undefined
schema:
file: ./demo.graphql
--- >8 --- >8 --- >8 --- >8 --- >8 ---
pcarrier@cat ~/repro> ~/.rover/bin/rover supergraph compose --config supergraph.yaml
error[E029]: Encountered 1 build error while trying to build a supergraph.
Caused by:
Encountered 1 build error while trying to build the supergraph.
UNKNOWN: Syntax Error: Unexpected Name "extend".
The subgraph schemas you provided are incompatible with each other. See https://www.apollographql.com/docs/federation/errors/ for more information on resolving build errors.
The text was updated successfully, but these errors were encountered:
Description
When running a composition and one of the schemas does not parse successfully, a location (including ideally a reference to the schema file) could be displayed.
Repro where this is missing:
The text was updated successfully, but these errors were encountered: