graphql

package
v1.25.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package graphql provides the graphql endpoint for Weaviate

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQL

type GraphQL interface {
	// Resolve the GraphQL query in 'query'.
	Resolve(context context.Context, query string, operationName string, variables map[string]interface{}) *graphql.Result
}

The communication interface between the REST API and the GraphQL API.

func Build

func Build(schema *schema.Schema, traverser Traverser,
	logger logrus.FieldLogger, config config.Config, modulesProvider *modules.Provider,
) (GraphQL, error)

Construct a GraphQL API from the database schema, and resolver interface.

type RequestsLogger

type RequestsLogger interface {
	get.RequestsLog
}

type Traverser

type Traverser interface {
	local.Resolver
}

Directories

Path Synopsis
Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
Based on `graphiql.go` from https://github.com/graphql-go/handler only made RenderGraphiQL a public function.
Based on `graphiql.go` from https://github.com/graphql-go/handler only made RenderGraphiQL a public function.
aggregate
Package aggregate provides the local aggregate graphql endpoint for Weaviate
Package aggregate provides the local aggregate graphql endpoint for Weaviate
common_filters
Package common_filters provides the filters for the graphql endpoint for Weaviate
Package common_filters provides the filters for the graphql endpoint for Weaviate
get
test
Package utils provides utility methods and classes to support the graphql endpoint for Weaviate
Package utils provides utility methods and classes to support the graphql endpoint for Weaviate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL