Using the TypeSpec.GraphQL.@schema decorator on a namespace indicates that the decorated namespace represents a GraphQL schema that should be generated by the GraphQL emitter.
Because this allows for multiple schemas to be specified in a TypeSpec source, our test host is reworked to provide a GraphQLTestResult corresponding to each schema produced.
This commit does not actually implement any emitter functionality, but populates a state map that will be used by the emitter in the future.
Using the
TypeSpec.GraphQL.@schema
decorator on a namespace indicates that the decorated namespace represents a GraphQL schema that should be generated by the GraphQL emitter.Because this allows for multiple schemas to be specified in a TypeSpec source, our test host is reworked to provide a
GraphQLTestResult
corresponding to each schema produced.This commit does not actually implement any emitter functionality, but populates a state map that will be used by the emitter in the future.