You are here

GraphQLInputType.php in GraphQL 8.3

File

src/Annotation/GraphQLInputType.php
View source
<?php

namespace Drupal\graphql\Annotation;


/**
 * Annotation for GraphQL input type plugins.
 *
 * @Annotation
 */
class GraphQLInputType extends GraphQLAnnotationBase {

  /**
   * {@inheritdoc}
   */
  public $pluginType = GRAPHQL_INPUT_TYPE_PLUGIN;

  /**
   * List of input fields.
   *
   * @var array
   */
  public $fields = [];

  /**
   * The typed data type of this type.
   *
   * @var string|null
   */
  public $type = NULL;

}

Classes

Namesort descending Description
GraphQLInputType Annotation for GraphQL input type plugins.