Documentation ¶
Index ¶
- type CommerceCategoryQueryResolver
- func (r *CommerceCategoryQueryResolver) CommerceCategory(ctx context.Context, categoryCode string, ...) (*graphqlDto.CategorySearchResult, error)
- func (r *CommerceCategoryQueryResolver) CommerceCategoryTree(ctx context.Context, activeCategoryCode string) (domain.Tree, error)
- func (r *CommerceCategoryQueryResolver) Inject(service domain.CategoryService, ...) *CommerceCategoryQueryResolver
- type Service
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 ¶
func (r *CommerceCategoryQueryResolver) CommerceCategory( ctx context.Context, categoryCode string, request *searchdto.CommerceSearchRequest) (*graphqlDto.CategorySearchResult, error)
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 ¶
func (r *CommerceCategoryQueryResolver) Inject( service domain.CategoryService, searchService *productApplication.ProductSearchService, ) *CommerceCategoryQueryResolver
Inject dependencies
Click to show internal directories.
Click to hide internal directories.