Skip to content

Typeorm adapter improvements#36

Open
ccatterina wants to merge 4 commits intostalniy:alphafrom
ccatterina:typeorm-improvements-patch
Open

Typeorm adapter improvements#36
ccatterina wants to merge 4 commits intostalniy:alphafrom
ccatterina:typeorm-improvements-patch

Conversation

@ccatterina
Copy link
Copy Markdown
Contributor

@ccatterina ccatterina commented Aug 26, 2022

Hi @stalniy!
I've added some improvements to typeorm adapter.
We have been using a version of ucast with these changes in our application for a few months now and it seems to work fine.

I opened a single PR with all the improvements split in different commits, let me know if you prefer separated PRs.

@ccatterina ccatterina force-pushed the typeorm-improvements-patch branch from 46a6112 to 6da689f Compare August 26, 2022 19:50
Add support for fields with nested relations (multiple levels) in the
typeORM adapter.

The other adapters treat these fields as simple fields and they don't
join the relations.

Fix issue stalniy#32 for TypeORM adapter.
There's no need to escape fields with typeorm querybuilder.
Moreover field escaping can cause problems when an entity field name is
different from the database field name.
@ccatterina ccatterina force-pushed the typeorm-improvements-patch branch from 6da689f to dbf2283 Compare August 26, 2022 19:53
@stalniy
Copy link
Copy Markdown
Owner

stalniy commented Aug 30, 2022

Hi,

Thank you for the contribution. I will take a look at it but it will take some time

@ccatterina
Copy link
Copy Markdown
Contributor Author

👍 sure, np!

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