Skip to content

Commit f18ab9c

Browse files
authored
chore(evaluation-context): Add feature metadata (#6166)
1 parent 032925d commit f18ab9c

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

sdk/evaluation-context.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
"description": "Priority of the feature context. Lower values indicate a higher priority when multiple contexts apply to the same feature.",
6969
"title": "Priority",
7070
"type": "number"
71+
},
72+
"metadata": {
73+
"existingJavaType": "java.util.Map<String,Object>",
74+
"description": "Additional metadata associated with the feature.",
75+
"title": "Metadata",
76+
"type": "object"
7177
}
7278
},
7379
"required": [

sdk/evaluation-result.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
"description": "Reason for the feature flag evaluation.",
3232
"title": "Reason",
3333
"type": "string"
34+
},
35+
"metadata": {
36+
"existingJavaType": "java.util.Map<String,Object>",
37+
"description": "Additional metadata associated with the feature.",
38+
"title": "Metadata",
39+
"type": "object"
3440
}
3541
},
3642
"required": [

0 commit comments

Comments
 (0)