Skip to content

Commit

Permalink
Clarify UserId property in context
Browse files Browse the repository at this point in the history
  • Loading branch information
MGibson1 committed Mar 20, 2024
1 parent 275d0b2 commit 05adfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contributing/feature-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ debugging code.
<div>
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.

a Feature flag may not appear in both the `flags` object and in the `flagValues` object.
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.
</div>
<br/>
<details>
Expand Down

0 comments on commit 05adfb8

Please sign in to comment.