Documentation ¶
Overview ¶
Package fetch provides the Local->Fetch GraphQL API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Contextionary ¶
type Contextionary interface {
SchemaSearch(p contextionary.SearchParams) (contextionary.SearchResults, error)
}
Contextionary is a local abstraction on the contextionary that needs to be provided to the graphQL API in order to resolve Local.Fetch queries.
type Params ¶
type Params struct { Kind kind.Kind PossibleClassNames contextionary.SearchResults Properties []Property }
Params to describe the Local->GetMeta->Kind->Class query. Will be passed to the individual connector methods responsible for resolving the GetMeta query.
type Property ¶
type Property struct { PossibleNames contextionary.SearchResults Match PropertyMatch }
Property is a combination of possible names to use for the property as well as a match object to perform filtering actions in the db connector based on this property
type PropertyMatch ¶
type PropertyMatch struct { Operator common_filters.Operator Value *common_filters.Value }
PropertyMatch defines how in the db connector this property should be used as a filter
Click to show internal directories.
Click to hide internal directories.