Skip to content

Commit 9646ff7

Browse files
authored
Merge branch 'main' into provider-hooks
2 parents cc2534a + 607e74b commit 9646ff7

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

specification.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,20 @@
284284
"RFC 2119 keyword": "MUST",
285285
"children": []
286286
},
287+
{
288+
"id": "Requirement 3.1.3",
289+
"machine_id": "requirement_3_1_3",
290+
"content": "The evaluation context MUST support fetching the custom fields by key and also fetching all key value pairs.",
291+
"RFC 2119 keyword": "MUST",
292+
"children": []
293+
},
294+
{
295+
"id": "Requirement 3.1.4",
296+
"machine_id": "requirement_3_1_4",
297+
"content": "The evaluation context fields MUST have an unique key.",
298+
"RFC 2119 keyword": "MUST",
299+
"children": []
300+
},
287301
{
288302
"id": "Requirement 3.2.1",
289303
"machine_id": "requirement_3_2_1",

specification/sections/03-evaluation-context.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ The targeting key uniquely identifies the subject (end-user, or client service)
3232
3333
see: [structure](../types.md#structure), [datetime](../types.md#datetime)
3434

35+
#### Requirement 3.1.3
36+
37+
> The evaluation context **MUST** support fetching the custom fields by key and also fetching all key value pairs.
38+
39+
#### Requirement 3.1.4
40+
41+
> The evaluation context fields **MUST** have an unique key.
42+
43+
The key uniquely identifies a field in the `evaluation context` and it should be unique accross all types to avoid any collision when marshelling the `evaluation context` by the provider.
44+
3545
### Merging Context
3646

3747
#### Requirement 3.2.1

0 commit comments

Comments
 (0)