Currently trying to setup SpringBoot and GraphQL but whenever I run the application I don’t seem to get the /graphql endpoint exposed, nor does the graphiql UI get exposed when I set it to enabled in the application.yml file.
I’ve also tried setting the endpoint manually in the properties but that also isn’t exposed.
I’ve pushed up the code to github below as I can’t work out where the problem would be.
2
Your project doesn't start (problem with the Entity definition). If you fix the entity issue then it starts and both
/graphql
and/graphiql
endpoints work.Jul 31, 2022 at 21:29
Maybe it's due schema.graphqls is not copied into the jar during build process. I have same issue and discovered schema.graphqls is missing in my build jar
Aug 8 at 14:23