At least one schema should be declared #1192
Unanswered
martijn-moveyou
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the installation steps in the readme file. Everything installs great.
In the config/types/ directory I start a greeting type with the filename Greeting.types.yaml with the following content:
I create a file with the name GreetingResolver in the App\GraphQL\Resolver\ package that des the resolve. It looks like this:
In the graphql/types/Query.types.yaml file I add the Queries:
I then use postman to do a post call to http://localhost:8000/graphql/ and I then get the following error in my logs:
How do I define a schema? Is it needed?
Beta Was this translation helpful? Give feedback.
All reactions