You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classHideIntrospectMiddleware:
""" 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 a Graphene issue, but it gives an error "Cannot return null for non-nullable field Query.__schema."
The text was updated successfully, but these errors were encountered:
Originally posted by @Arfey in a Graphene issue, but it gives an error "Cannot return null for non-nullable field Query.__schema."
The text was updated successfully, but these errors were encountered: