@TypeORM splitting drivers into separate packages
Problem
I was thinking a lot how to solve all problems with new differing drivers like mongodb one. Solution is to separate packages: `@typeorm/mysql` `@typeorm/mariadb` `@typeorm/sqlite` `@typeorm/sql-server` `@typeorm/oracle` `@typeorm/websql` `@typeorm/mongodb` and possible future drivers like: `@typeorm/redis` `@typeorm/elasticsearch` `@typeorm/cassandra` `@typeorm/rethinkdb` `@typeorm/neo4j` etc. This requires lot of refactoring efforts and increases orm complexity, but that seems the only way to go further with different driver types. We may also have general packages like `@typeorm/core`, `@typeorm/sql`, `@typeorm/nosql` however I'm not sure about them. Alternatively we can simply pack everything needed into their packages using different build scripts and tsconfigs. Also another solution is to have `@typeorm/typeorm` and everything go from there, other packages just use declaration merging ability of TypeScript and add additional functionality, and users just use single `@typeorm/typeorm` namespace everywhere. Need help - suggestions, proposals or coding help if possible.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: @TypeORM splitting drivers into separate packages
@19majkel94 maybe its time to appear in list of typeorm contributors 😉
Trust Score
1 verification
- 1
@19majkel94 maybe its time to appear in list of typeorm contributors 😉
@19majkel94 maybe its time to appear in list of typeorm contributors 😉
Validation
Resolved in typeorm/typeorm GitHub issue #344. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep