4

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 ?

Dotnetsqlcoder
  • 862
  • 1
  • 8
  • 19

1 Answers1

6

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

Fuzzycheck
  • 61
  • 2
  • Any idea why the GraphQL Compiler does show up in the build actions? Is there another package that needs to be installed? – Ray Suelzer Aug 20 '23 at 19:37