apollographql/supergraph-demo

`make local` with rover v0.0.10 returns Syntax Error: Cannot parse the unexpected character "\u250C".

prasek opened this issue · 1 comments

Running make local with rover v0.0.10 returns Cannot parse the unexpected character "\u250C"

due to rover supergraph introspect including a rover update message in stdout:
image

make local
.scripts/introspect.sh
subgraphs:
rover subgraph introspect https://nem23xx1vd.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/orders.graphql
rover subgraph introspect https://7bssbnldib.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/products.graphql
rover subgraph introspect https://w0jtezo2pa.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/reviews.graphql
rover subgraph introspect https://eg3jdhe3zl.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/customers.graphql
rover subgraph introspect https://2lc1ekf3dd.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/inventory.graphql
rover subgraph introspect https://1kmwbtxfr4.execute-api.us-east-1.amazonaws.com/Prod/graphql > subgraphs/locations.graphql
.scripts/config.sh > supergraph.yaml
rover supergraph compose --config ./supergraph.yaml > supergraph.graphql
error: UNKNOWN: Syntax Error: Cannot parse the unexpected character "\u250C".
error: Encountered 1 composition error while composing the graph.
make: *** [compose] Error 1

Git status shows:

git status
On branch readme-update
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   subgraphs/orders.graphql
	modified:   supergraph.graphql

and diffing orders.graphql shows:
image

Fixed upstream, will be fixed in next rover release.