Documentation
¶
Overview ¶
Package common provides shared GraphQL scalar types and helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotString = errors.New("value is not a string")
ErrNotString indicates a non-string value was provided where a string was expected.
Functions ¶
This section is empty.
Types ¶
type ID ¶
ID is a GraphQL-compatible UUID scalar.
func (ID) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler for the ID scalar.
func (*ID) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler for the ID scalar.
Click to show internal directories.
Click to hide internal directories.