Skip to content

Commit 05adfb8

Browse files
committed
Clarify UserId property in context
1 parent 275d0b2 commit 05adfb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contributing/feature-flags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ debugging code.
9898
<div>
9999
The `flags.json` file can also define flags which respond to user context. Currently, only `UserId`and the `OrganizationId` of all organizations a user belongs to are included in our feature flagging context. The syntax for defining context-aware flags amounts to defining a `flag` object which specifies `variations` values and `rules` which are evaluated against the user context. A `fallthrough` object is also available to specify a default variation. Rules are represented by `segments`, which are defined in the same file.
100100

101-
a Feature flag may not appear in both the `flags` object and in the `flagValues` object.
101+
a Feature flag may not appear in both the `flags` object and in the `flagValues` object. Note that UserId is referred to as `key` in the `clauses` object while defining a segment.
102102
</div>
103103
<br/>
104104
<details>

0 commit comments

Comments
 (0)