ldvalue.OptionalBool and ldvalue.OptionalInt are analogous to ldvalue.OptionalString, representing values that may be undefined without using pointers. These are used in the Go SDK.
The VariationIndex property of ldreason.EvaluationDetail is now an OptionalInt (instead of being an int that has the special value of -1 if there is no index).
ldlogtest now has methods for dumping captured log output, either unconditionally or if a test failed.
[2.0.0-beta.4] - 2020-09-08
Added:
ldvalue.OptionalBool
andldvalue.OptionalInt
are analogous toldvalue.OptionalString
, representing values that may be undefined without using pointers. These are used in the Go SDK.VariationIndex
property ofldreason.EvaluationDetail
is now anOptionalInt
(instead of being anint
that has the special value of -1 if there is no index).ldlogtest
now has methods for dumping captured log output, either unconditionally or if a test failed.