utils

package
v0.6.20 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForRequestedField

func CheckForRequestedField(ctx context.Context, fieldName string) bool

CheckForRequestedField checks if the requested field is in the list of fields

func GetPreloads

func GetPreloads(ctx context.Context) []string

GetPreloads returns the preloads for the current graphql operation

Types

type GenericMutation added in v0.6.19

type GenericMutation interface {
	ID() (id string, exists bool)
	Type() string
}

GenericMutation is an interface for getting a mutation ID and type

Jump to

Keyboard shortcuts

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