feat(medusa): List (service + controller) product categories #3004 (#3023)

**What:**

Introduces a store endpoint to retrieve a list of product categories

**Why:**

This is part of a greater goal of allowing products to be added to multiple categories.

**How:**

- Creates an endpoint in store routes

RESOLVES CORE-968
This commit is contained in:
Riqwan Thamir
2023-01-16 19:20:42 +00:00
committed by GitHub
parent c49747b3ad
commit 7d4b8b9cc5
10 changed files with 358 additions and 57 deletions
@@ -17,6 +17,8 @@ import {
@Entity()
@Tree("materialized-path")
export class ProductCategory extends SoftDeletableEntity {
static treeRelations = ["parent_category", "category_children"]
@Column()
name: string