Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 329 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 329 Bytes

Reproduction

ASPNETCORE_ENVIRONMENT="Development" dotnet run

Then try to load schema or hit the endpoint in any way

curl http://localhost:5000/graphql

System.ArgumentException: The root type `Query` has already been registered. (Parameter 'operation')

Fix

ASPNETCORE_ENVIRONMENT="Production" dotnet run