-
Steps from the guide that I followed on spring.io. It looks like the same tutorial is on graphql-java.com too. Took the option to generate the zip with these parameters
Unzip and cd into workspace, then add these files as cut-n-paste from the Tutorial.
and enable GraphiQL. Then I run 'mvn package' and see a warning
and so then at runtime the query returns 'null' data. In my limited understanding, Spring is saying that it cannot match between what is written to the @QueryMapping annotation
And what is defined in the schema
But as this is my first attempt at Spring GraphQL I am shooting in the dark :-) Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There was a conflict with the package names. It does work after all 😄 |
Beta Was this translation helpful? Give feedback.
There was a conflict with the package names. It does work after all 😄