Sha256: 766cc6a8534e0b3705567024ee982c8d19ea13e5679f7fea01bbe9ed23ed1590
Contents?: true
Size: 846 Bytes
Versions: 44
Compression:
Stored size: 846 Bytes
Contents
GraphQL::Introspection::TypeType = GraphQL::ObjectType.define do name "__Type" description "A type in the GraphQL schema" field :name, types.String, "The name of this type" field :description, types.String, "What this type represents" field :kind do type !GraphQL::Introspection::TypeKindEnum description "The kind of this type" resolve -> (target, a, c) { target.kind.name } end field :fields, field: GraphQL::Introspection::FieldsField field :ofType, field: GraphQL::Introspection::OfTypeField field :inputFields, field: GraphQL::Introspection::InputFieldsField field :possibleTypes, field: GraphQL::Introspection::PossibleTypesField field :enumValues, field: GraphQL::Introspection::EnumValuesField field :interfaces, field: GraphQL::Introspection::InterfacesField end
Version data entries
44 entries across 44 versions & 1 rubygems