-
Hello! I'm trying to implement type auto registration using HotChocolate 13.0.2 and dotnet 7.0 as suggested here. Tried configuring server using: builder.Services
.AddGraphQLServer()
.AddTypes(); Got error for
Any assistance you can provide would be appreciated. Full example is here. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
How to implement auto registration can be found using template |
Beta Was this translation helpful? Give feedback.
-
I had the same issue and was able to work it out:
|
Beta Was this translation helpful? Give feedback.
-
If it doesn't work, you probably have an out of date .NET SDK. Either update it, or update VS |
Beta Was this translation helpful? Give feedback.
How to implement auto registration can be found using template
dotnet new install HotChocolate.Templates
. I've updated my example repo.