GraphQL endpoint results in 404 on my production release but locally works fine #962
-
I experience following challenge:
I use Java Spring: 2.7.13. More observations: One of the my internal troubleshooting suggestion was to disable cors, but it did not help: Maybe I mismatched the configurations from different releases or spring or github documentation. Could you share any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, thanks to internal review we solved that, adding this property solved our issue: |
Beta Was this translation helpful? Give feedback.
OK, thanks to internal review we solved that, adding this property solved our issue:
spring.graphql.schema.locations=classpath*:graphql/**/
https://docs.spring.io/spring-graphql/docs/current/reference/html/#execution.graphqlsource.schema-resources