Skip to content

Commit

Permalink
Point out that text comparators are case sensitive (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 authored Nov 28, 2024
1 parent 2a6122b commit efc7337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/targeting/targeting-rule/user-condition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ A string, a list of strings, a number, a semantic version, a list of semantic ve
We recommend using confidential text comparators when targeting users based on their sensitive data (like email address, name, etc).
In this case, the feature flag evaluation is performed using the SHA256 hashes of the values to ensure that the comparison values are not exposed. This can cause an increase in the size of the config JSON file and the overall network traffic. Yet it is not recommended to use the cleartext version of the confidential comparators unless the increased network traffic becomes an issue.

The following comparators expect the *Comparison attribute* to be a string value and the *Comparison value* to be a string or a list of strings.
The following comparators expect the *Comparison attribute* to be a string value and the *Comparison value* to be a string or a list of strings. The comparison is case-sensitive.

| Comparator | Description |
| ------------------------------- | ------------------------------------------------------------------------------------------ |
Expand All @@ -69,7 +69,7 @@ The following comparators expect the *Comparison attribute* to be a string value

#### Text Comparators

The following comparators expect the *Comparison attribute* to be a string value and the *Comparison value* to be a string or a list of strings.
The following comparators expect the *Comparison attribute* to be a string value and the *Comparison value* to be a string or a list of strings. The comparison is case-sensitive.

:::info
Consider using Confidential text comparators if you plan to target users by their sensitive data, e.g.: email address or company domain.
Expand Down Expand Up @@ -130,7 +130,7 @@ The following comparators expect the *Comparison attribute* to be a date value (

#### Array Comparators

The following comparators expect the *Comparison attribute* to be an array of strings (or an array of strings serialized to JSON), and the *Comparison value* to be a list of strings.
The following comparators expect the *Comparison attribute* to be an array of strings (or an array of strings serialized to JSON), and the *Comparison value* to be a list of strings. The comparison is case-sensitive.

| Comparator | Description |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
Expand Down

0 comments on commit efc7337

Please # to comment.