Documentation
¶
Index ¶
- func FlamingoResolver(_ context.Context) (*string, error)
- func Generate(services []Service, basePath string, schemaBasePath string) error
- func MarshalFloat(f big.Float) graphql.Marshaler
- func UnmarshalFloat(v interface{}) (big.Float, error)
- type FlamingoQueryResolver
- type ModelMap
- type ModelMapEntry
- type Module
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlamingoResolver ¶
FlamingoResolver always returns "flamingo" for default schemas.
func MarshalFloat ¶
MarshalFloat for graphql Float scalars to be compatible with big.Float
func UnmarshalFloat ¶
UnmarshalFloat for graphql Float scalars to be compatible with big.Float
Types ¶
type FlamingoQueryResolver ¶
type FlamingoQueryResolver struct{}
FlamingoQueryResolver always resolves to the string "flamingo" for the default schemas.
type ModelMap ¶
type ModelMap map[string]interface{}
ModelMap is a helper to quickly create map[string]TypeMapEntry for graphql type mappings.
type ModelMapEntry ¶
ModelMapEntry can be used to create a more detailed ModelMap.
type Module ¶
type Module struct{}
Module defines the graphql entry point and binds the graphql command and routes
func (*Module) DefaultConfig ¶
func (m *Module) DefaultConfig() flamingoConfig.Map
DefaultConfig for this module
Directories
¶
Path | Synopsis |
---|---|
user/interfaces/graphql
Package graphql Code generated by go-bindata.
|
Package graphql Code generated by go-bindata. |
Package templates Code generated by go-bindata.
|
Package templates Code generated by go-bindata. |
Click to show internal directories.
Click to hide internal directories.