You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
Categories, products and attributes are one of the first things which need to be defined for both shop and WH. At the moment we can load and edit them through a node module into our database.
However for quick edits we probably want to have a CRUDs in the frontend.
I think just copy and paste for now - it's already been simplified a fair amount, and if we spot other patterns we want to optimise (validation might be one of them), then can do that.
Rather than assuming CRUD I think it's good to consider the actual scenarios around why you'd update or delete - there may be a few, in which case we should model this, and the impact on other dependent entities in the system.
I can imagine that update and delete might be tough.
delete for example should only possible if there are no connected product.
updates should also affect all entries of products.
Context
Categories, products and attributes are one of the first things which need to be defined for both shop and WH. At the moment we can load and edit them through a node module into our database.
However for quick edits we probably want to have a CRUDs in the frontend.
ToDo
/categories
Remarks
optional Todos
The text was updated successfully, but these errors were encountered: