Skip to content

inq filter for referencesMany relationships not working properly #11169

@aaqilniz

Description

@aaqilniz

Describe the bug

As the title says, the inq filter is not working correctly for referencesMany relations.

I have created a docker-based example to showcase this error. Here is the repo.

Once the example is up and running with docker-compose up, try accessing http://localhost:3000/users?filter={"where":{"companyIds":{"inq":[2]}}} would yield no results - though there is a record with the said id in the database.

Logs

Additional information

No response

Reproduction

https://github.com/aaqilniz/lb4-issue-samples

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions