Skip to content

Need more guidance on array filters #11

Description

@meem

https://cloud.ibm.com/docs/api-handbook?topic=api-handbook-filtering#primitive-arrays provides guidance on filtering based on the presence of a primitive value in an array property, but does not provide guidance on filtering based on an array being empty or non-empty. For example, if one wants to filter such that only resources with an empty foo[] array are returned, what would the syntax be? What about a non-empty foo[]?

Aside: the existing guidance seems questionable, since it assumes a relationship between the singular and plural forms of a property that is subtle and may not hold in some corner cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions