graphql/utilities/find_deprecated_usages.py
def find_deprecated_usages(
    schema: GraphQLSchema, ast: DocumentNode
) -> List[GraphQLError]:
    """Get a list of GraphQLError instances describing each deprecated use."""

    type_info = TypeInfo(schema)
    visitor = FindDeprecatedUsages(type_info)
    visit(ast, TypeInfoVisitor(type_info, visitor))
    return visitor.errors
Get a list of GraphQLError instances describing each deprecated use.
Get a list of GraphQLError instances describing each deprecated use.
Get a list of GraphQLError instances describing each deprecated use .
def find_deprecated_usages(
    schema: GraphQLSchema, ast: DocumentNode
) -> List[GraphQLError]:
    type_info = TypeInfo(schema)
    visitor = FindDeprecatedUsages(type_info)
    visit(ast, TypeInfoVisitor(type_info, visitor))
    return visitor.errors
def find_deprecated_usages ( schema : GraphQLSchema , ast : DocumentNode ) -> List [ GraphQLError ] : type_info = TypeInfo ( schema ) visitor = FindDeprecatedUsages ( type_info ) visit ( ast , TypeInfoVisitor ( type_info , visitor ) ) return visitor . errors
Get a list of GraphQLError instances describing each deprecated use.
Get a list of GraphQLError instances describing each deprecated use .
"""Get a list of GraphQLError instances describing each deprecated use."""
schema
GraphQLSchema
ast
DocumentNode