nestjsx / crud

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

fix(NestJSX-CRUD-TypeOrm): :bug: Ability to Use Search and Filter Features with Nested Entities. #737

Open orbitturner opened 3 years ago

orbitturner commented 3 years ago

Fixing the Error [Invalid Column Name] or [ syntax error at or near \":\".] when using filter or search in relational/nested entities. Example when you have an User Like That : image

And want to do a filter like that : http://apiqctoolsbyt/api/system-users?filter=userState.id||$eq||3 You was Getting this error : image

And this Pull Request Will fix It !

rewiko commented 2 years ago

merged and released via https://github.com/rewiko/crud/issues/5 v5.0.17