graphql-workshop
graphql-workshop copied to clipboard
Getting started with GraphQL on ASP.NET Core and Hot Chocolate - Workshop
I'm currently trying to figure out how to add a unit test for subscription. :) References: https://github.com/ChilliCream/graphql-workshop/blob/master/docs/8-testing-the-graphql-server.md https://chillicream.com/docs/hotchocolate/api-reference/aspnetcore#subscription-session-handling
In Session 6 it talks about adding pagination and demonstrates that with a query for tracks to include paginated sessions. Unfortunately at that point int he workshop there is no...
I have been battling with the Track queries with pagination in Session 6 for several hours without success. Later I got to realize that the Field descriptor for Sessions needed...
[Session # 2](https://github.com/ChilliCream/graphql-workshop/blob/master/docs/2-controlling-nullability.md) demonstrates how HC leverages C#'s nullable reference types. In [Session # 6](https://github.com/ChilliCream/graphql-workshop/blob/master/docs/6-adding-complex-filter-capabilities.md) `NonNullType` is used... ``` .ResolveWith(t => t.GetSessionsAsync(default!, default!, default)) .UsePaging() ``` ...but it looks like...
I would suggest not teaching people to setup the project incorrectly but go directly to setting up correctly with attribute that supports the middleware. Maybe in passing mention the wrong...
**Problem:** In some machines you can have problem to use ef because of dotnet-tools.json was created on different machine.. And is included in project... Windows use location timestamp **Location:** https://github.com/ChilliCream/graphql-workshop/tree/master/code/complete/.config...
EROR always when need return null. Calling `await sender.SendAsync($"CaseInProgress_{runId}", (int?)null);` ``` public class CaseInProgressChangedPayload { public int? CaseInProgress { get; set; } } [Subscribe] [Topic("CaseInProgress_{runId}")] public CaseInProgressChangedPayload OnCaseInProgressChanged(int runId, [EventMessage]...
As per [GraphQL-Workshop](https://github.com/ChilliCream/graphql-workshop) and [Session #3 Understanding GraphQL query execution and DataLoader](https://github.com/ChilliCream/graphql-workshop/blob/master/docs/3-understanding-dataLoader.md) I followed Steps 3, 4, 5, 6 & 7 and everything worked as expected. But Warning is shown...
Part 1 of my efforts to update the guide to .NET 7 and latest package versions. I will not be updating the images at this time. - changed 1-creating-a-graphql-server-project.md -...