Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork144
Open
Description
I use middleware for that right nowclassHideIntrospectMiddleware:""" This middleware should use for production mode. This class hide the introspection. """defresolve(self,next,root,info,**args):ifinfo.field_name=='__schema':returnNonereturnnext(root,info,**args)
Originally posted by@Arfey in aGraphene issue, but it gives an error "Cannot return null for non-nullable field Query.__schema."
Metadata
Metadata
Assignees
Labels
No labels