Skip to content

Add In operator edge cases #37

@khvn26

Description

@khvn26

See Flagsmith/flagsmith-php-client#115 (comment).

Add the following cases.

Native list condition properties:

  • float context value vs float[] condition property — should match.
  • int context value vs int[] condition property — should match.
  • float context value vs int[] condition property — should not match.
  • int context value vs float[] condition property — should not match.

Comma-delimited string condition properties:

  • float context value vs string comma-delimited floats condition property — should match.
  • int context value vs string comma-delimited ints condition property — should match.
  • float context value vs string comma-delimited ints condition property — should not match.
  • int context value vs string comma-delimited floats condition property — should not match.

JSON-encoded list condition properties:

  • float context value vs string JSON-encoded floats condition property — should match.
  • int context value vs string JSON-encoded ints condition property — should match.
  • float context value vs string JSON-encoded ints condition property — should not match.
  • int context value vs string JSON-encoded floats condition property — should not match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions