Skip to content

API: Inventory #11

@Austin2Shih

Description

@Austin2Shih
  • Create the Inventory Model
  • Create support for CRUD
  • Add a resolver to Product: inventory which just returns the inventory that is linked to a product
  • Make it so that creating a product also creates an inventory with the same UUID as the product.
  • If Product is deleted, make sure Inventory is deleted (achieved by cascade deletion in prisma)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions