ChilliCream / graphql-workshop

Getting started with GraphQL on ASP.NET Core and Hot Chocolate - Workshop
465 stars 199 forks source link

Breaking changes Schema Explorer using 11.0.0-rc.0 #16

Closed Napokue closed 3 years ago

Napokue commented 3 years ago

I am following the workshop and I see that since the introduction of recommending to use HotChocolate.AspNetCore 11.0.0-rc.0 it introduced breaking changes for the Schema Explorer in Banana Cake Pop.

At first I believed I did something wrong, but I went on and downloaded the source code of this repository to check if the completed session 1 code is also breaking, and it is. I went through the commits of this repository to find the session 1 with the "old" API of version 10.5.X. and that worked.

I am not sure what the problems is, but I know that it is breaking here: image

The "old" API uses the following syntax that works: image

michaelstaib commented 3 years ago

Yes 11 has breaking changes regarding the config api. With 11 we have a new unified config api.