crud: Error comparison operator since 4.3.0

Hello,

When i’m using the new release version to get with ?filter=name||$eq||test I got this error : Error: Invalid comparison operator. eq,ne,gt,lt,gte,lte,starts,ends,cont,excl,in,notin,isnull,notnull,between expected at validateComparisonOperator (project\node_modules@nestjsx\crud\node_modules@nestjsx\crud-request\src\request-query.validator.ts:63:11) When I’m using the previous operator ‘eq’ the filter do nothing Thank you

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

So I create a project from scratch slimpiest and it’s working so It’s specific to my architecture I’m looking for. Thank you for your time 😉

I’ve tested again my integration project, tried to simulate your situation, but no luck. So the last option here - could you please create a sample repo with the same controller so that I could test it?

None just the filter not filtering. I have the alwaysPaginate true for information