package
0.2.0
Repository: https://github.com/andrewwphillips/eggql.git
Documentation: pkg.go.dev

# Functions

Get checks if a field (of a Go struct) is exported and, if so, returns the GraphQL field info.
GetInfoFromTag extracts GraphQL field name and type info from the field's tag (if any) If the tag just contains a dash (-) then nil is returned (no error).
SplitArgs splits a string on commas and returns the resulting slice of strings.
SplitWithDesc is like SplitArgs but also allows a trailing "description" (anything after the first #).

# Constants

"complexity" option specifies how to estimate the complexity of a resalver.
"field_id" option generates an extra "id" field for queries on a list (array/slice/map).
"subscript" option generates a resolver to subscript into a list (array/slice/map).
TagKey is tag string "key" for our app - used to find options in the field metadata (tag string).

# Variables

UnmarshalerType is the dynamic type of the Unmarshaler interface It's used to check if a type has an UnmarshalEGGQL method, which indicates it is a custom scalar type.

# Structs

Info is returned from Get() with info extracted from a struct field to be used as a GraphQL query resolver.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author