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
The router will fail to load this schema, with this error:
$ ./router -s supergraph.graphql -c router.config.yml --hot-reload
2022-04-12T12:57:22.276818Z INFO apollo_router::executable: [email protected]
2022-04-12T12:57:22.322167Z INFO apollo_router: starting Apollo Router
2022-04-12T12:57:22.413046Z ERROR apollo_router::state_machine: cannot create the router: couldn't build Router Service: query planning had errors: bridge errors: UNKNOWN: Type federation__FieldSet already exists in this schema
2022-04-12T12:57:22.413326Z INFO apollo_router: stopped with error
2022-04-12T12:57:22.413389Z ERROR apollo_router::executable: could not create the HTTP pipeline: couldn't build Router Service: query planning had errors: bridge errors: UNKNOWN: Type federation__FieldSet already exists in this schema
could not create the HTTP pipeline: couldn't build Router Service: query planning had errors: bridge errors: UNKNOWN: Type federation__FieldSet already exists in this schema
If I remove the following definitions from the schema, it will load properly:
scalarfederation__FieldSetscalarlink__Importenumlink__Purpose {
""" `EXECUTION` features provide metadata necessary for operation execution. """ EXECUTION""" `SECURITY` features provide metadata necessary to securely resolve fields. """ SECURITY
}
The text was updated successfully, but these errors were encountered:
If I try to compose the following subgraphs(obtained with
rover subgraph introspect
):speakers.graphql:
schedule.graphql
supergraph.yml:
I will get the supergraph schema:
The router will fail to load this schema, with this error:
If I remove the following definitions from the schema, it will load properly:
The text was updated successfully, but these errors were encountered: