Sha256: fbd29ccc7db18c82ba9a676e0bb8d99da7ebc889a8bf920b573cbfac3f67cd45
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 Bytes
Contents
GraphQL::FieldType = GraphQL::ObjectType.new do name "__Field" description "Field on a GraphQL type" self.fields = { name: field(type: !type.String, desc: "The name for accessing this field"), description: field(type: !type.String, desc: "The description of this field"), type: field(type: !GraphQL::TypeType, desc: "The return type of this field"), isDeprecated: field(type: !type.Boolean, property: :deprecated?, desc: "Is this field deprecated?"), deprecationReason: field(type: type.String, property: :deprecation_reason, desc: "Why this field was deprecated"), } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-0.1.0 | lib/graph_ql/introspection/field_type.rb |