common

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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

type ID uuid.UUID

ID is a GraphQL-compatible UUID scalar.

func (ID) MarshalGQL

func (id ID) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler for the ID scalar.

func (*ID) UnmarshalGQL

func (id *ID) UnmarshalGQL(v interface{}) error

UnmarshalGQL implements graphql.Unmarshaler for the ID scalar.

Jump to

Keyboard shortcuts

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