Skip to content

ondraslim/Riganti.GraphQlDemo

Repository files navigation

GraphQL ASP.NET Core demo (7 - HotChocolate)

HotChocolate

I highly recommend to have a look at the HotChocolate workshop, everything I used is nicely explained there.

Client generation using StrawberryShake

I used StrawberryShake to generate the simple client. All that's is necessary is:

  1. To have the StrawberryShake nugget package installed
  2. To have downloaded a schema definition of the server, you want to generate a client for -> schema.graphql
  3. Define queries/mutations/subscriptions you want to generate the code for -> Queries.graphql

The generation takes place upon project build abd the result can be found in a folder called Generated. Detailed and advanced description can be found here.

Sources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages