NAME

GraphQL::Introspection - Perl implementation of GraphQL

SYNOPSIS

use GraphQL::Introspection qw($QUERY);
my $schema_data = GraphQL::Execution->execute($schema, $QUERY);

DESCRIPTION

Provides infrastructure implementing GraphQL's introspection.

EXPORT

$QUERY

The GraphQL query to introspect the schema.

$TYPE_KIND_META_TYPE

The enum type describing kinds of type. The second-most-meta type here, after $TYPE_META_TYPE itself.

$DIRECTIVE_LOCATION_META_TYPE

The enum type describing directive locations.

$ENUM_VALUE_META_TYPE

The type describing enum values.

$INPUT_VALUE_META_TYPE

The type describing input values.

$FIELD_META_TYPE

The type describing fields.

$DIRECTIVE_META_TYPE

The type describing directives.

$TYPE_META_TYPE

The type describing a type. "Yo dawg..."

$SCHEMA_META_TYPE

The type describing the schema itself.

$SCHEMA_META_FIELD_DEF

The meta-field existing on the top query.

$TYPE_META_FIELD_DEF

The meta-field existing on the top query, describing a named type.

$TYPE_NAME_META_FIELD_DEF

The meta-field existing on each object field, naming its type.