Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AnyType = graphql.NewScalar( graphql.ScalarConfig{ Name: consts.SCALAR_ANY, Description: "The `_Any` scalar type represents _Any values as specified by [Federation](https://www.apollographql.com/docs/federation/federation-spec)", Serialize: func(value interface{}) interface{} { return value }, ParseValue: func(value interface{}) interface{} { return value }, ParseLiteral: parseLiteral, }, )
View Source
var FieldSetType = graphql.NewScalar( graphql.ScalarConfig{ Name: consts.SCALAR_FIELDSET, Description: "The `_FieldSet` scalar type represents _FieldSet values as specified by [Federation](https://www.apollographql.com/docs/federation/federation-spec)", Serialize: func(value interface{}) interface{} { return value }, ParseValue: func(value interface{}) interface{} { return value }, ParseLiteral: parseLiteral, }, )
View Source
var JSONType = graphql.NewScalar( graphql.ScalarConfig{ Name: "JSON", Description: "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf)", Serialize: func(value interface{}) interface{} { return value }, ParseValue: func(value interface{}) interface{} { return value }, ParseLiteral: parseLiteral, }, )
JSON type
View Source
var UploadType = graphql.NewScalar( graphql.ScalarConfig{ Name: "Upload", Description: "The `Upload` scalar type ", Serialize: func(value interface{}) interface{} { return value }, ParseValue: func(value interface{}) interface{} { return value }, ParseLiteral: parseLiteral, }, )
Upload type
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.