package
0.0.0-20240806171928-4b8604f13782
Repository: https://github.com/ccbrown/api-fu.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Execute executes a query.
Returns a cost function which returns a constant resolver cost with no multiplier.
IsSubscription returns true if the operation with the given name is a subscription operation.
NewFeatureSet creates a new feature set with the given features.
NewListType creates a new list type with the given element type.
NewNonNullType creates a new non-null type with the given wrapped type.
NewRequestFromHTTP constructs a Request from an HTTP request.
NewSchema validates a schema definition and builds a Schema from it.
ParseAndValidate parses and validates a query.
Subscribe is used to implement subscription support.
Calculates the cost of the given operation and ensures it is not greater than max.
# Variables
BooleanType implements the Boolean type as defined by the GraphQL spec.
FloatType implements the Float type as defined by the GraphQL spec.
IDType implements the ID type as defined by the GraphQL spec.
IncludeDirective implements the @include directive as defined by the GraphQL spec.
IntType implements the Int type as defined by the GraphQL spec.
SkipDirective implements the @skip directive as defined by the GraphQL spec.
StringType implements the String type as defined by the GraphQL spec.
# Interfaces
ExtendedError can be used to add data to a GraphQL error.
# Type aliases
Directive represents a GraphQL directive.
DirectiveDefinition defines a directive.
EnumType represents a GraphQL enum type.
EnumValueDefinition defines a possible value for an enum type.
FeatureSet represents a set of features.
FieldContext is provided to field resolvers and contains important context such as the current object and arguments.
FieldCost describes the cost of resolving a field, enabling rate limiting and metering.
FieldCostContext contains important context passed to field cost functions.
FieldDefinition defines a field on an object type.
InputObjectType represents a GraphQL input object type.
InputValueDefinition defines an input value such as an argument.
InterfaceType represents a GraphQL interface type.
ListType represents a GraphQL list type.
NamedType represents any GraphQL named type.
NonNullType represents a non-null GraphQL type.
ObjectType represents a GraphQL object type.
ResolvePromise can be used to resolve fields asynchronously.
ResolveResult represents the result of a field resolver.
ScalarType represents a GraphQL scalar type.
Schema represents a GraphQL schema.
SchemaDefinition defines a GraphQL schema.
Type represents a GraphQL type.
UnionType represents a GraphQL union type.
ValidatorRule defines a rule that the validator will evaluate.