graphql-spqr-spring-boot-starter

how to Disable Schema Introspection in graphql-spqr-spring-boot-starter

自闭症网瘾萝莉.ら 提交于 2021-01-05 07:40:31
问题 I have integrated my spring boot application with graphql-spqr-spring-boot-starter https://github.com/leangen/graphql-spqr-spring-boot-starter , I need to find a way on how to disable graphql schema introspection since its a security issue for production. 回答1: I am using graphql-spqr 0.9.9 and graphql-spqr-spring-boot-starter 0.0.4, but the code base changed for graphql-spqr 0.10. I'll try to cover both cases, but keep in mind you might have to tweak the code snippets a bit. In Graphql-spqr

how to Disable Schema Introspection in graphql-spqr-spring-boot-starter

帅比萌擦擦* 提交于 2021-01-05 07:39:09
问题 I have integrated my spring boot application with graphql-spqr-spring-boot-starter https://github.com/leangen/graphql-spqr-spring-boot-starter , I need to find a way on how to disable graphql schema introspection since its a security issue for production. 回答1: I am using graphql-spqr 0.9.9 and graphql-spqr-spring-boot-starter 0.0.4, but the code base changed for graphql-spqr 0.10. I'll try to cover both cases, but keep in mind you might have to tweak the code snippets a bit. In Graphql-spqr