graphql

yen 2019-04-26T02:46:34.017600Z

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

1👍
yen 2019-04-26T02:47:18.018300Z

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

steveb8n 2019-04-26T03:42:27.021800Z

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.

1👍
hlship 2019-04-26T17:40:47.022500Z

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

chrisulloa 2019-04-26T17:58:50.023100Z

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

2👍
chrisulloa 2019-04-26T22:43:05.023400Z

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