.NET GraphQL Server From Scratch | Part 2 | Create the GraphQL Schema Project

preview_player
Показать описание
Create the GraphQL Schema Project

To begin creating our GraphQL server we are going to add a new project for our GraphQL Schema. This project will contain all our NuGet package references to GraphQL and our Data project.

Once you've created the new project we'll add our initial GraphQL Schema class that will take in a IDependencyResolver and will resolve a QueryType for the main query object in our schema.
Рекомендации по теме
Комментарии
Автор

@1:13 Visual Studio threw an error when I tried to create the circular reference. I solved this by keeping the Schema inside the same project as the rest of the code.

joelv
visit shbcf.ru