Subgraph introspection of a federated server built with dynamic schema returns type _Service.
Actual Behavior
Subgraph introspection of a federated server built with dynamic schema returns type String.
Steps to Reproduce the Problem
Use dynamic schema.
Enable Federation.
Use Rover CLI to create supergraph -or- introspect the subgraph.
rover supergraph compose http://localhost:5000
rover subgraph introspect http://localhost:5000
Field _service returns sdl as type String causing subgraph introspection error. Note, regular introspection is valid using rover graph introspect http://localhost:5000
_service: "..."
It should return type _Service instead, which is an object that contains the property sdl as a string.
_service: {
sdl: "..."
}
Specifications
Version: async-graphql = { version = "5.0.5", features = ["dynamic-schema"] }
Expected Behavior
Subgraph introspection of a federated server built with dynamic schema returns type
_Service
.Actual Behavior
Subgraph introspection of a federated server built with dynamic schema returns type
String
.Steps to Reproduce the Problem
rover supergraph compose http://localhost:5000
rover subgraph introspect http://localhost:5000
_service
returnssdl
as typeString
causing subgraph introspection error. Note, regular introspection is valid usingrover graph introspect http://localhost:5000
_Service
instead, which is an object that contains the propertysdl
as a string.Specifications
async-graphql = { version = "5.0.5", features = ["dynamic-schema"] }