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
Copy file name to clipboardExpand all lines: website/docs/concepts/evaluation-context.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -67,10 +67,16 @@ The targeting key is used to ensure that a user consistently receives the same v
67
67
For instance, **GO Feature Flag** ensures that in cases where a feature is being rolled out to a percentage of users, based on the targeting key, they will see the same variation each time they encounter the feature flag.
68
68
69
69
## Reserved properties in the evaluation context
70
+
:::danger
71
+
If you put a key named `gofeatureflag` in your evaluation context, it may break internal features of GO Feature Flag.
72
+
This property name is reserved for internal use.
73
+
:::
74
+
70
75
When you create an evaluation context some fields are reserved for GO Feature Flag.
71
-
Those fields are used by GO Feature Flag directly, you can use them as will in your targeting queries but you should be aware that they are used internally for GO Feature Flag.
76
+
Those fields are used by GO Feature Flag directly, you can use them as will in your targeting queries, but you should be aware that they are used internally for GO Feature Flag.
|`gofeatureflag.currentDateTime`| If this property is set, we will use this date as base for all the rollout strategies which implies dates _(experimentation, progressive and scheduled)_.<br/>**Format:** Date following the RF3339 format. |
76
-
|`gofeatureflag.flagList`| If this property is set, in the bulk evaluation mode (for the client SDK) we will only evaluate the flags in this list.<br/>If empty or not set the default behavior is too evaluate all the flags.<br/>**Format:**[]string |
|`gofeatureflag.currentDateTime`| If this property is set, we will use this date as base for all the rollout strategies which implies dates _(experimentation, progressive and scheduled)_.<br/>**Format:** Date following the RF3339 format. |
81
+
|`gofeatureflag.flagList`| If this property is set, in the bulk evaluation mode (for the client SDK) we will only evaluate the flags in this list.<br/>If empty or not set the default behavior is too evaluate all the flags.<br/>**Format:**[]string |
82
+
|`gofeatureflag.exporterMetadata`| If this property is set, we will add all the fields in the feature event send to the provider.<br/>**Format:** map[string]string\|number\|bool |
0 commit comments