Skip to content

feat(casl-typeorm): add TypeORM integration#1172

Open
cookieMonsterDev wants to merge 3 commits intostalniy:masterfrom
cookieMonsterDev:feat-add-typeorm-support
Open

feat(casl-typeorm): add TypeORM integration#1172
cookieMonsterDev wants to merge 3 commits intostalniy:masterfrom
cookieMonsterDev:feat-add-typeorm-support

Conversation

@cookieMonsterDev
Copy link
Copy Markdown

In work we use some weird integration that map mongoose to typeORM, so that is an opportunity to make official support for TypeORM. Feel free to change or improve this initial design.

@stalniy
Copy link
Copy Markdown
Owner

stalniy commented Mar 7, 2026

Thanks for the PR. It will take some time to read through it and integrate it into existing ecosystem.

For example, @ucast/sql has sub package for TypeORM. Which also supports joins on related records. https://github.com/stalniy/ucast/blob/master/packages/sql/src/lib/typeorm.ts

Ucast/sql aims to provide low-level sql integration for all major SQL-* libs. This is easier from support perspective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants