gid-oss / dataui-nestjs-crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
130 stars 31 forks source link

fix: explicit casting for array operators #24

Closed PavloNaumenko closed 5 months ago

PavloNaumenko commented 10 months ago

You are getting No operator matches the given name and argument types. You might need to add explicit type casts. error when you are trying to use $contArr or $intersectsArr with non-text field type.

PavloNaumenko commented 10 months ago

Adding new columns with array types is breaking MySQL tests because array types do not support an array data type. Probably I need to remove tests from this PR for now

afilp commented 5 months ago

@PavloNaumenko Can you please do this so this can be merged? Thanks a lot!

PavloNaumenko commented 5 months ago

Tests were reverted because used field type not available for MySQL

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 9658898245

Details


Files with Coverage Reduction New Missed Lines %
packages/crud-typeorm/src/typeorm-crud.service.ts 2 97.45%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 9562457195: -0.1%
Covered Lines: 1270
Relevant Lines: 1280

💛 - Coveralls