Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
BigInt is a custom GraphQL type to represent a big integer. It has to be added to a schema via "scalar BigInt" since it is not a predeclared GraphQL type like "ID".
func (BigInt) ImplementsGraphQLType ¶
ImplementsGraphQLType maps this custom Go type to the graphql scalar type in the schema.
func (BigInt) MarshalJSON ¶
MarshalJSON is a custom marshaler for BigInt
This function will be called whenever you query for fields that use the BigInt type
func (*BigInt) UnmarshalGraphQL ¶
UnmarshalGraphQL is a custom unmarshaler for BigInt
This function will be called whenever you use the BigInt scalar as an input
type Checkpoint ¶ added in v1.5.1
func (Checkpoint) ImplementsGraphQLType ¶ added in v1.5.1
func (Checkpoint) ImplementsGraphQLType(name string) bool
ImplementsGraphQLType maps this custom Go type to the graphql scalar type in the schema.
func (Checkpoint) MarshalJSON ¶ added in v1.5.1
func (cp Checkpoint) MarshalJSON() ([]byte, error)
MarshalJSON is a custom marshaler for Checkpoint
This function will be called whenever you query for fields that use the Checkpoint type
func (*Checkpoint) Nullable ¶ added in v1.5.1
func (cp *Checkpoint) Nullable()
func (*Checkpoint) UnmarshalGraphQL ¶ added in v1.5.1
func (cp *Checkpoint) UnmarshalGraphQL(input interface{}) error
UnmarshalGraphQL is a custom unmarshaler for Checkpoint
This function will be called whenever you use the Checkpoint scalar as an input
type Uint64 ¶
type Uint64 uint64
Uint64 is a custom GraphQL type to represent a uint64. It has to be added to a schema via "scalar Uint64" since it is not a predeclared GraphQL type like "ID".
func (Uint64) ImplementsGraphQLType ¶
ImplementsGraphQLType maps this custom Go type to the graphql scalar type in the schema.
func (Uint64) MarshalJSON ¶
MarshalJSON is a custom marshaler for Uint64
This function will be called whenever you query for fields that use the Uint64 type
func (*Uint64) UnmarshalGraphQL ¶
UnmarshalGraphQL is a custom unmarshaler for Uint64
This function will be called whenever you use the Uint64 scalar as an input