-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
RelationsModel relations (has many, etc.)Model relations (has many, etc.)RepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packagefeaturestale
Description
While working on belongsTo relation in #1618, we discovered a need to detect circular dependencies in property definitions and provide a helpful error to users.
Here is a PoC code that did not make it to master yet:
We should take a closer look at different ways how a cyclic relation can be introduced, write tests to reproduce those cases and then fix the implementation to throw an error that explains the user what went wrong and how to fix the problem.
Acceptance criteria
TBD
Metadata
Metadata
Assignees
Labels
RelationsModel relations (has many, etc.)Model relations (has many, etc.)RepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packagefeaturestale