Skip to content

Commit

Permalink
refactor(repository-tests): move relation tests to repository-tests p…
Browse files Browse the repository at this point in the history
…ackage

Move these tests to repository-tests package so that they would be tested against real databases such as MongoDB and MySQL.
Introduce a new flag convertIdType to CrudFeatures to solve the different usage of id types in different databases.

Co-authored-by: Nora <[email protected]>
  • Loading branch information
Agnes Lin and nabdelgadir committed Aug 20, 2019
1 parent 86a9302 commit dc8782a
Show file tree
Hide file tree
Showing 31 changed files with 2,063 additions and 1,224 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export const MONGODB_CONFIG: DataSourceOptions = {
export const MONGODB_FEATURES: Partial<CrudFeatures> = {
idType: 'string',
supportsTransactions: false,
convertIdType: true,
};
Loading

0 comments on commit dc8782a

Please sign in to comment.