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

HasAndBelongsToMany relation #5297

Closed
frbuceta opened this issue Apr 30, 2020 · 1 comment
Closed

HasAndBelongsToMany relation #5297

frbuceta opened this issue Apr 30, 2020 · 1 comment
Labels
feature Relations Model relations (has many, etc.)

Comments

@frbuceta
Copy link
Contributor

Implementation

I have been trying to understand the flow of data through the LoopBack relationships for a couple of days

Well, with that said I have started testing and open this thread to discuss it a bit.

9830483

Seeing this sketch of LB3, I conclude that the intermediate model (AssemblyPart) should not be defined and therefore it had to be built within the relationship code.

Looking at the link below, model will become type string that would contain the model name
https://github.com/frbuceta/loopback-next/blob/feat/has-and-belongs-to-many/packages/repository/src/relations/relation.types.ts#L119-L152

What would be your opinion? @strongloop/loopback-maintainers

Acceptance criteria

TBD - will be filled by the team.

@agnes512 agnes512 added the Relations Model relations (has many, etc.) label Apr 30, 2020
@agnes512
Copy link
Contributor

Thanks for the information! But I have to close it as we already have the issue opened #2308. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Relations Model relations (has many, etc.)
Projects
None yet
Development

No branches or pull requests

2 participants