Skip to content
New issue

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

Some the fields in where clause are being removed #215

Closed
akshatdubeysf opened this issue Jun 12, 2024 · 1 comment
Closed

Some the fields in where clause are being removed #215

akshatdubeysf opened this issue Jun 12, 2024 · 1 comment

Comments

@akshatdubeysf
Copy link
Contributor

Describe the bug
The soft delete repo removes some of the fields from the query if we pass a condition with the or clause.

To Reproduce
Steps to reproduce the behavior:

  1. create a repo extending the soft delete repository
  2. send a payload that looks something like this -
{
  "field1": "value1",
  "or": [
   {"field2": "value2"},
  {"field2": "value3"}
  ]
}
  1. The output result does not consider the "field1":"value1" condition

Expected behavior
It should not omit any of the conditions in the where clause

Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant