Fork me on GitHub
#graphql
<
2019-04-26
>
yen02:04:34

Not using Lacinia, but where I work we’ve limited access to introspection queries only to users with staff access

yen02:04:18

@hlship is right - introspection is a big part of why GraphQL (and GraphiQL in particular) is great.

steveb8n03:04:27

fwiw I'm planning to disable introspection as well. Non-staff clients will use a persisted query. I think/hope I can do both with a custom pedestal interceptor.

hlship17:04:47

I think someone should add an issue to lacinia to introduce an option to disable introspection.

chrisulloa17:04:50

I made an issue in Lacinia. Thanks for being receptive!

chrisulloa22:04:05

Awesome, this is the change I had in mind. Thanks.