the execution fails.
Indeed the aurora data api is returning the following error "BadRequestException: Cannot find parameter: param_2".
So it seems the driver is interpreting the string 'undefined' as a real undefined values and does not provide it to the server making the request fail.
Note:
We dont reproduce the issue when passing text like "'undefined'" for instance.
The db engine supports 'undefined' string since we the issue is not reproduced when insert the value directly a db console.
To Reproduce
With the following entity and the given client code:
Package versions and database engine type (please complete the following information):
Describe the bug
Hello, When trying to insert the bellow entity using TypeOrmAuroraDataApiDriver and a text string value 'undefined':
with the following code:
the execution fails. Indeed the aurora data api is returning the following error "BadRequestException: Cannot find parameter: param_2". So it seems the driver is interpreting the string 'undefined' as a real undefined values and does not provide it to the server making the request fail. Note:
To Reproduce With the following entity and the given client code: