[Python] How to disable introspection on graphene-python?

Discussão em 'Python' iniciado por Stack, Agosto 16, 2025.

  1. Stack

    Stack Membro Participativo

    The docs give this explanation:

    validation_errors = validate(
    schema=schema.graphql_schema,
    document_ast=parse('THE QUERY'),
    rules=(
    DisableIntrospection,
    )


    ... but leave a "THE QUERY" placeholder for the document_ast parameter.

    What should be used so that introspection is disabled for all queries?

    Continue reading...

Compartilhe esta Página