FG
💻 Software🗄️ Databases

@TypeORM splitting drivers into separate packages

Freshalmost 9 years ago
Mar 14, 20260 views
Confidence Score86%
86%

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

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: @TypeORM splitting drivers into separate packages

Low Risk

@19majkel94 maybe its time to appear in list of typeorm contributors 😉

84

Trust Score

1 verification

100% success
  1. 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

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

typeormormtypescripthelp-wanteddiscussion