Type Query must define one or more fields #1393
Answered
by
MichalLytek
AbdullahKhdir
asked this question in
Q&A
-
here I have these two GraphQL entities classes:
and
and my resolver looks like the following:
when I run the app I keep getting this error.
The thing is my query is defined with the fields in it and my resolver is defined! where does the error message come from ? |
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Dec 9, 2022
Replies: 1 comment 1 reply
-
Show how you call |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AbdullahKhdir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Show how you call
buildSchema