Skip to content

Using null filter as part of comma delineated filter list does not typecast 'null' to nil #411

Closed

Description

@smai-f

If filtering by nil is enabled on your resource and you use a filter such as filter[name]=null,Lucy, it would be nice if this filter returned all values that were either nil or Lucy. Instead, the filter value ends up here as ['null', 'Lucy'] -- 'null' is a string and does not get typecast to nil.

Only verified with resource backed by ActiveRecord.

Activity

  1. added
    bug
    good first issue
    on Jul 29, 2026
  2. github-actions commented on Aug 2, 2026

    @github-actions
    Contributor

    🎉 This issue has been resolved in version 1.13.1 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  3. github-actions commented on Aug 10, 2026

    @github-actions
    Contributor

    🎉 This issue has been resolved in version 2.0.0-beta.8 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issuereleasedreleased on @beta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions