decode

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: BSD-2-Clause Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unmarshaler

type Unmarshaler interface {
	// ImplementsGraphQLType maps the implementing custom Go type
	// to the GraphQL scalar type in the schema.
	ImplementsGraphQLType(name string) bool
	// UnmarshalGraphQL is the custom unmarshaler for the implementing type
	//
	// This function will be called whenever you use the
	// custom GraphQL scalar type as an input
	UnmarshalGraphQL(input interface{}) error
}

Unmarshaler defines the api of Go types mapped to custom GraphQL scalar types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL