- Provide a way to create custom driver more easily
- Think if we can split different drivers into their own packages, e.g.
@typeorm/mysql, @typeorm/postgres, @typeorm/sqlite, @typeorm/sqljs-node, @typeorm/sqljs-browser
2.1. Think if we need a @typeorm/core
The reason behind #1 is not to have new drivers like #2240 but instead have a flexible mechanizm to allow users to create their own drivers.
The reasons behind #2 are numerous. It will allow us to make a specific functionalities in their own packages, pack their own drivers with the packages, etc.
Think if we need a @typeorm/core
some implementation detail, let's say do we want to have Entity inside core or inside each driver. If we do it inside core then it will be possible to use those entities across different drivers, if we do it inside their own packages then we'll be able to "give" additional functionality.
We already had multiple discussions before, I'll need to find all related issues and link them here.
adding @daniel-lang
@typeorm/mysql,@typeorm/postgres,@typeorm/sqlite,@typeorm/sqljs-node,@typeorm/sqljs-browser2.1. Think if we need a
@typeorm/coreThe reason behind
#1is not to have new drivers like #2240 but instead have a flexible mechanizm to allow users to create their own drivers.The reasons behind
#2are numerous. It will allow us to make a specific functionalities in their own packages, pack their own drivers with the packages, etc.some implementation detail, let's say do we want to have
Entityinside core or inside each driver. If we do it inside core then it will be possible to use those entities across different drivers, if we do it inside their own packages then we'll be able to "give" additional functionality.We already had multiple discussions before, I'll need to find all related issues and link them here.
adding @daniel-lang