Test relations against databases #3442
Labels
feature
Relations
Model relations (has many, etc.)
Repository
Issues related to @loopback/repository package
Milestone
Refactor existing integration & acceptance tests for relations, move most (or
all) of them to repository-tests package.
I am not sure how much work will be required to make these tests pass against MongoDB (coercion between
ObjectID
vs.string
). If it would require non-trivial amount of time, then:CrudFeature
flags allowing MongoDB test suite to skip these new tests.See also #3387, and here.
Acceptance criteria
Tests to review & move:
belongs-to.relation.acceptance.ts
has-many-without-di.relation.acceptance.ts
has-many.relation.acceptance.ts
has-one.relation.acceptance.ts
relation.factory.integration.ts
- this file needs to be split into multiple smaller files, one (or more) for each relation type.The text was updated successfully, but these errors were encountered: