-
Notifications
You must be signed in to change notification settings - Fork 731
Closed
Labels
Description
This issue pertains to:
- GraphQL Playground - Electron App
- GraphQL Playground
- GraphQL Playground Middleware
What OS and OS version are you experiencing the issue(s) on?
macOS High Sierra
What version of graphql-playground(-electron/-middleware) are you experience the issue(s) on?
1.3.5
What is the expected behavior?
Load without issue
What is the actual behavior?
App crashes because of...
ConfigNotFoundError: ".graphqlconfig" file is not available in the provided config directory: /Users/vincenzo/Documents/Repositories/github/yoga
What steps may we take to reproduce the behavior?
- Create your GraphQL server with Express and Apollo (get off the ground with graphql-yoga, if you like)
- Include Playground (already done for you if you chose to start with graphql-yoga)
- Fire up your app
- It will crash with an error similar to the one above
Temporary workaround
Create one of the two the config file supported, and have a simple one line setting in it. I created .graphqlconfig.yml
and put the following in it:
schemaPath: schema.graphql