feat(typeorm): create initial support for typeorm ^0.3.0 and nest ^9.0.0
TypeORM has been upgraded to ^0.3.0. Nest has been upgraded to ^9.0.0. Minor changes to TypeORM crud service related to unique select columns. Major changes to tests to support new DataSource configuration.
BREAKING CHANGE: TypeORM v0.3.0 came with many breaking changes, please see their release notes for more details. https://github.com/typeorm/typeorm/releases/tag/0.3.0
re #790
PR Checklist
Please check if your PR fulfills the following requirements:
- [X] The commit message was generated by
yarn commit - [x] Tests for the changes have been added (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Tests
[ ] Release
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
TypeORM ^0.3.0 is not supported.
Issue Number: 790
What is the new behavior?
TypeORM ^0.3.0 is supported, as well as Nest ^9.0.0 (required for latest TypeORM support)
Does this PR introduce a breaking change?
[X] Yes
[ ] No
TypeORM ^0.3.0 introduced quite a few breaking changes, most significantly how connections are configured. See their release notes here: https://github.com/typeorm/typeorm/releases/tag/0.3.0
Nest ^9.0.0 is also required for the latest TypeORM ^0.3.0 support