Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typeorm adapter improvements #36

Open
wants to merge 4 commits into
base: alpha
Choose a base branch
from

Conversation

ccatterina
Copy link
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.

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.
@stalniy
Copy link
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
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