StrawberryShake 13: Unable to resolve type reference "Name!"
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Product
Strawberry Shake
Describe the bug
StrawberryShake v13 fails on a HotChocolate GQL service schema with the error: Unable to resolve type reference “Name!”
Please find attached a project created with the following commands recommended here: https://chillicream.com/blog/2023/02/08/new-in-hot-chocolate-13#strawberry-shake
Source code: SSv13.zip
dotnet new tool-manifest
dotnet tool install StrawberryShake.Tools
dotnet new classlib
dotnet add package StrawberryShake.Blazor
dotnet graphql init https://api.nexar.com/graphql -n NexarClient
After adding the simple query Resources\Workspaces.graphql
the build fails with this error
EXEC : error GQL: Unable to resolve type reference `Name!`.
See also:
Version
13.0.2
Issue Analytics
- State:
- Created 7 months ago
- Reactions:3
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Strawberry Shake Code Generation cannot resolve type ...
I try to use Strawberry Shake to generate Code from Querys in my Client. ... "Unable to resolve type reference 'None:Any'.".
Read more >Incorrectly reported errors when using Strawberry Shake library
When using the Strawberry Shake GraphQL library from ChilliCream, Rider will mark auto-generated types with red squiggly lines because it finds them in...
Read more >Input Object Types - Hot Chocolate v12
Input object type definitions differ from object types only in the used keyword and in that their fields can not have arguments.
Read more >Migrate Strawberry Shake from 12 to 13
This guide will walk you through the manual migration steps to update your Strawberry Shake GraphQL client to version 13.
Read more >GRAPHQL CLIENT IN .NET w/ STRAWBERRY SHAKE #1
Learn how to setup a GraphQL client application in .NET using the Strawberry Shake package. In this video, I setup the project for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You removed the
Name
type and it says:The workaround I offered would be to download the schema manually and remove the
Name
type and directives that use it.The name type because of schema stitching.