This is a tracking issue with breaking changes such as @Deprecated annotated methods.
The resulting PR should be marked with breaking changes so that we can upgrade to the next major version (2.x)
List of tasks,
class MyHook implements Hook<T,D>{
D getHookData(){
return myHookData;
}
void void after(HookContext<T> ctx, FlagEvaluationDetails<T> details, Map<String, Object> hints) {}
D data = ctx.getHookData(); // data == myHookData
}
}
This is a tracking issue with breaking changes such as
@Deprecatedannotated methods.The resulting PR should be marked with breaking changes so that we can upgrade to the next major version (2.x)
List of tasks,
Numberfor numeric evaluationsHookinterface, through which the user can add hook data that can be accessed in a type safe manner during the flag evaluation: