Closed
Description
While starting up my GraphQL app (using the latest version of graphql-dotnet, 7.1.1) I get this error in the output window:
Required service for type GraphQL.Types.LongGraphType not found occurred
This is followed by:
Error: This graph type 'Query' has already been initialized. Make sure that you do not use the same instance of a graph type in multiple schemas. It may be so if you registered this graph type as singleton; see https://graphql-dotnet.github.io/docs/getting-started/dependency-injection/ for more info. occurred
(This later one is quite misleading. You need to fix the previous ones and then this one goes away. I was tricked by this for a while.)
But what service could be missing for LongGraphType
?