Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(schema *schema.Schema, logger logrus.FieldLogger, modulesProvider ModulesProvider, ) (*graphql.Field, error)
Build the Local.Get part of the graphql tree
Types ¶
type ModulesProvider ¶
type ModulesProvider interface { GetArguments(class *models.Class) map[string]*graphql.ArgumentConfig ExtractSearchParams(arguments map[string]interface{}, className string) (map[string]interface{}, map[string]*dto.TargetCombination) GetAdditionalFields(class *models.Class) map[string]*graphql.Field ExtractAdditionalField(className, name string, params []*ast.Argument) interface{} GraphQLAdditionalFieldNames() []string GetAll() []modulecapabilities.Module }
type RequestsLog ¶
RequestsLog is a local abstraction on the RequestsLog that needs to be provided to the graphQL API in order to log Local.Get queries.
Click to show internal directories.
Click to hide internal directories.