View on
MetaCPAN
Ed J > GraphQL-0.13 > GraphQL::Introspection

Download:
GraphQL-0.13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: GraphQL-0.16

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.

syntax highlighting: