Introduce InclusionResolver
concept
#3445
Labels
feature
Relations
Model relations (has many, etc.)
Repository
Issues related to @loopback/repository package
Milestone
Introduce the concept of a inclusion resolver, which is a function we can use to fetch related models (both in our ORM/REST API but also from GraphQL resolvers in the future).
See #3387 for more details & a prototype implementation.
Acceptance criteria
InclusionResolver
includeRelatedModels
, it will become a part of a public API of@loopback/repository
. Under the hood, this function should leverage inclusion resolvers to fetch related models.Note: helper name
includeRelatedModels
is not final, feel free to propose a better one!The text was updated successfully, but these errors were encountered: