We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Package versions and database engine type (please complete the following information):
Describe the bug @Column transformer from is not called.
@Column
To Reproduce https://github.com/nxzz/typeorm-aurora-data-api-driver-transform-issue/tree/4f2f67e65cc7e9fd3e7866952303239151b7e154 When I run the code in this repository, transformer from is not displayed as shown below.
transformer from
$ secretArn="xxxxxx" resourceArn="xxxxxxx" npx ts-node main.ts transformer to TestData { id: 1, data: 'testdata' } [ TestData { id: 1, data: 'testdata' } ] TestData { id: 1, data: 'testdata' }
If the DataSource is mysql, you will see transformer from as shown below.
$ npx ts-node mysql.ts transformer to TestData { id: 1, data: 'testdata' } transformer from [ TestData { id: 1, data: 'TESTDATA' } ] transformer from TestData { id: 1, data: 'TESTDATA' }
Thankyou.
The text was updated successfully, but these errors were encountered:
I reproduced this too. If it can help, we constated that the from transformer is called when the value is null. It's not very useful.
from
null
Sorry, something went wrong.
I can't create a PR because I don't have time to write test code, but I got it to work with this patch. master...nxzz:typeorm-aurora-data-api-driver:master#diff-16226b3f7ac28247a0d19adda562aa4fa0fe3aa25dcd1edef430e84d286226eb
No branches or pull requests
Package versions and database engine type (please complete the following information):
Describe the bug
@Column
transformer from is not called.To Reproduce
https://github.com/nxzz/typeorm-aurora-data-api-driver-transform-issue/tree/4f2f67e65cc7e9fd3e7866952303239151b7e154
When I run the code in this repository,
transformer from
is not displayed as shown below.If the DataSource is mysql, you will see
transformer from
as shown below.Thankyou.
The text was updated successfully, but these errors were encountered: