No client is generated with StrawberryShake

Viewed 345

I am using Strawberry Shake The schema seems to be generated just fine
enter image description here

When i build i dont see any generated folder . Seems there is no client generated . I am doing something wrong here ?

1 Answers

I had the same issue and found the solution on this page: https://bartwullems.blogspot.com/2021/10/graphqlstrawberry-shake-graphql-client.html

First, your screenshot shows no query created. You need first to create a query file, like for example AddMovieData.graphql

query FetchGenreList{ genreList{ genreId, genreName } }

You need to edit the properties of AddMovieData.graphql and set the build action for the graphql file to GraphQL compiler.

Cheers

Related