Link API medusa v2 #10108
Edsparr
started this conversation in
Feature Requests
Link API medusa v2
#10108
Replies: 1 comment 4 replies
-
Hi @Edsparr, something like:
We are still improving our docs to contain all the features and polishing the DX of that. On the other hand, at the moment it won't be managed by the application in case a product is deleted, it won't cascade delete the entity on your custom entity. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there any plans to provide a more flexible linking api than entity id to entity id?
For example, if I want to create a localized product entity which have a composite primary key of (product id, language code) it makes a lot of sense to link it directly to the product table. Right now that is not possible and a separate id for each localized entity need to be created, then linked.
I understand the reason behind the current API which offers strong flexibility and modularity. Still though, without focusing on the extra table the joins will stack up overtime. Especially in scenarios containing nested joins it can become a lot. Would be great to hear the core team's thoughts around the subject.
Beta Was this translation helpful? Give feedback.
All reactions