Replies: 2 comments 1 reply
-
/cc @jmartisk (graphql), @phillip-kruger (graphql) |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's because |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today I try to clean up my example projects: https://github.com/hantsy/quarkus-sandbox/tree/master/graphql-client
Given Graphql type:
And I created a dynamic client:
I used the example project: https://github.com/hantsy/quarkus-sandbox/tree/master/graphql to serve graphql service.
When running the project:
mvn clean package quarkus:run
. It throws an exception:missing countOfComment field
.I have to uncomment the above line
// field("countOfComments"),
to make it work.But for the client, it should assemble the fields freely.
The original codes(without countOfComments field, and
Post
is a POJO bean instead of the current record class) was also working well when I wrote down the examples.Beta Was this translation helpful? Give feedback.
All reactions