Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Many-To-Many operations #216

Open
spersico opened this issue Jul 15, 2019 · 2 comments
Open

Add support for Many-To-Many operations #216

spersico opened this issue Jul 15, 2019 · 2 comments
Labels
discussion Useful for proof-of-concept code or draft PRs enhancement New feature or request

Comments

@spersico
Copy link
Member

spersico commented Jul 15, 2019

image

I believe that this could be done in a couple of ways:

  • Through the support of n-depth nested resources, and nested resources operations:
    So if I have an author model, a book model and a authorsBook model relating both, I can just delete an authorsBook (explicitly) and that's it.
    Or for GET operations, I can get to the books through authorsBook.

  • Tough more... blackboxy? magicky?, another aproach could be something like this:
    https://loopback.io/doc/en/lb3/HasAndBelongsToMany-relations.html
    Where the user wouldn't have direct access to the junction-table, and the operations would be transparent to the user.

@spersico spersico added enhancement New feature or request discussion Useful for proof-of-concept code or draft PRs labels Jul 15, 2019
@joelalejandro
Copy link
Member

This is being researched in the @kurier/addon-many-to-many package.

@joelalejandro joelalejandro moved this to ⌛ Waiting in Kurier Nov 11, 2022
@marcemira
Copy link
Contributor

marcemira commented Jan 18, 2024

Alright, here's a built-in implementation of manyToMany relationships feature/many-to-many, myself and @Martinarbez are working on a project that implements Kurier, but it was lacking this critical feature, we'll be happy to receive commentaries 🙏🏻 and hopefully get this feature landed on the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Useful for proof-of-concept code or draft PRs enhancement New feature or request
Projects
Status: Waiting
Development

No branches or pull requests

3 participants