Documentation ¶
Index ¶
- Constants
- func IsZeroValue(value any) bool
- func MarshalGQL(ctx context.Context, v any) (string, error)
- type GraphQLMarshaller
- type Selection
- func (s *Selection) Arg(name string, value any) *Selection
- func (s *Selection) Bind(v interface{}) *Selection
- func (s *Selection) Execute(ctx context.Context, c graphql.Client) error
- func (s *Selection) Select(name string) *Selection
- func (s *Selection) SelectWithAlias(alias, name string) *Selection
Constants ¶
View Source
const ( GraphQLMarshallerType = "XXX_GraphQLType" GraphQLMarshallerID = "XXX_GraphQLID" )
Variables ¶
This section is empty.
Functions ¶
func IsZeroValue ¶
Types ¶
type GraphQLMarshaller ¶ added in v0.4.0
type GraphQLMarshaller interface { // XXX_GraphQLType is an internal function. It returns the native GraphQL type name XXX_GraphQLType() string // XXX_GraphqlID is an internal function. It returns the underlying type ID XXX_GraphQLID(ctx context.Context) (string, error) }
GraphQLMarshaller is an internal interface for marshalling an object into GraphQL.
Click to show internal directories.
Click to hide internal directories.