Documentation ¶
Index ¶
- Constants
- type Defaulted
- type Described
- type ID
- type Named
- type Parser
- func (parser *Parser) AddEnum(ent interface{}, enum *graphql.Enum)
- func (parser *Parser) AddEnumByValues(ent interface{}, values map[string]interface{})
- func (parser *Parser) AddScalar(ent interface{}, value *graphql.Scalar)
- func (parser *Parser) ParseArgs(ent interface{}) graphql.FieldConfigArgument
- func (parser *Parser) ParseInput(ent interface{}, opts ...interface{}) graphql.Input
- func (parser *Parser) ParseOutput(ent interface{}, opts ...interface{}) graphql.Type
Constants ¶
View Source
const ( TAG_PREFIX = "graphql" TAG_NULLABLE = "nullable" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) AddEnumByValues ¶
func (*Parser) ParseArgs ¶
func (parser *Parser) ParseArgs(ent interface{}) graphql.FieldConfigArgument
parse all args as a struct
func (*Parser) ParseInput ¶ added in v0.0.3
func (*Parser) ParseOutput ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.