graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.68k stars 225 forks source link

Stuck at "loading" when running graphql-faker, is there a way to see a more detailed log? #160

Open lfr opened 2 years ago

lfr commented 2 years ago

My schema passes validation I suppose because I see this: image

But from the browser I never get beyond this point: image

Is there any way for me to check what part of my very large gql file may be causing issues?

lfr commented 2 years ago

I fixed my issue, turns out there was a syntax error in the directive declaration, I'll leave this open in case someone wants to convert it to a bug.

directive @hidden on OBJECT, FIELD_DEFINITION  # coma should've been reported as an error
directive @hidden on OBJECT | FIELD_DEFINITION # fixing the coma fixes the issue