graphql

package
v3.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommerceCategoryQueryResolver

type CommerceCategoryQueryResolver struct {
	// contains filtered or unexported fields
}

CommerceCategoryQueryResolver resolves graphql category queries

func (*CommerceCategoryQueryResolver) CommerceCategory

CommerceCategory returns product search result with the given categoryCode from searchService

func (*CommerceCategoryQueryResolver) CommerceCategoryTree

func (r *CommerceCategoryQueryResolver) CommerceCategoryTree(ctx context.Context, activeCategoryCode string) (domain.Tree, error)

CommerceCategoryTree returns a Tree with the given activeCategoryCode from categoryService

func (*CommerceCategoryQueryResolver) Inject

Inject dependencies

type Service

type Service struct{}

Service describes the Commerce/Category GraphQL Service

func (*Service) Schema

func (*Service) Schema() []byte

Schema for category, delivery and addresses

func (*Service) Types added in v3.3.0

func (*Service) Types(types *graphql.Types)

Types configures the GraphQL to Go resolvers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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