Flagsmith / Flagsmith/engine-test-data

Add `In` operator edge cases

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
0
Forks
0
Avg merge
4d 22h
Merged PRs (30d)
1

Description

See https://github.com/Flagsmith/flagsmith-php-client/pull/115#discussion_r2466356145.

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.