You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clarify evaluation context in hook requirements (#330)
## This PR
- clarify evaluation context in hook requirements
### Related Issues
Fixes#328
### Notes
I added the clarification in the non-normative section. Hopefully, this
addresses the ambiguity around what we mean by `evaluation context`.
Signed-off-by: Michael Beemer <[email protected]>
Copy file name to clipboardExpand all lines: specification/sections/04-hooks.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ Hook context exists to provide hooks with information about the invocation and p
49
49
50
50
> Hook context **MUST** provide: the `flag key`, `flag value type`, `evaluation context`, `default value`, and `hook data`.
51
51
52
+
The `evaluation context` provided in the hook context refers to the **merged evaluation context** as specified in [Requirement 3.2.3](./03-evaluation-context.md#requirement-323).
53
+
52
54
#### Requirement 4.1.2
53
55
54
56
> The `hook context`**SHOULD** provide access to the `client metadata` and the `provider metadata` fields.
0 commit comments