Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(schema *models.Schema, modulesProvider ModulesProvider, authorizer authorization.Authorizer) *graphql.Field
Build builds the object containing the Local->Explore Fields, such as Objects
Types ¶
type ModulesProvider ¶
type RequestsLog ¶
RequestsLog is a local abstraction on the RequestsLog that needs to be provided to the graphQL API in order to log Local.Fetch queries.
type Resolver ¶
type Resolver interface { Explore(ctx context.Context, principal *models.Principal, params traverser.ExploreParams) ([]search.Result, error) }
Resolver is a local interface that can be composed with other interfaces to form the overall GraphQL API main interface. All data-base connectors that want to support the Meta feature must implement this interface.
Click to show internal directories.
Click to hide internal directories.