Skip to content

Commit c707f56

Browse files
authored
docs: clarify that bucketing keys are strings (#185)
## This PR - clarifies that bucketing keys are strings ### Related Issues open-feature/flagd#1601 Signed-off-by: Michael Beemer <[email protected]>
1 parent 9b0ee43 commit c707f56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

json/targeting.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
"$comment": "there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case",
477477
"items": [
478478
{
479-
"description": "Bucketing value used in pseudorandom assignment; should be unique and stable for each subject of flag evaluation. Defaults to a concatenation of the flagKey and targetingKey.",
479+
"description": "Bucketing value used in pseudorandom assignment; should be a string that is unique and stable for each subject of flag evaluation. Defaults to a concatenation of the flagKey and targetingKey.",
480480
"$ref": "#/definitions/anyRule"
481481
},
482482
{

json/targeting.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ definitions:
397397
$comment: there seems to be a bug here, where ajv gives a warning (not an error) because maxItems doesn't equal the number of entries in items, though this is valid in this case
398398
items:
399399
- description:
400-
Bucketing value used in pseudorandom assignment; should be unique
400+
Bucketing value used in pseudorandom assignment; should be a string that is unique
401401
and stable for each subject of flag evaluation. Defaults to a concatenation
402402
of the flagKey and targetingKey.
403403
$ref: "#/definitions/anyRule"

0 commit comments

Comments
 (0)