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
Hello new to open feature sdk, wondering if a generic type should be part of the Flag parameter as well.
from
/**
* Context evaluator - use for resolving flag according to evaluation context, for handling targeting.
*
* @param <T> expected value type
*/
public interface ContextEvaluator<T> {
T evaluate(Flag flag, EvaluationContext evaluationContext);
}
to
/**
* Context evaluator - use for resolving flag according to evaluation context, for handling targeting.
*
* @param <T> expected value type
*/
public interface ContextEvaluator<T> {
T evaluate(Flag<T> flag, EvaluationContext evaluationContext);
}
The text was updated successfully, but these errors were encountered:
I understand your suggestion, but merely to have a type there might not be a good reasoning. hence i am asking, why would we need it, what do you think we can achieve with it. and what topic can we improve with this change?
Hello new to open feature sdk, wondering if a generic type should be part of the Flag parameter as well.
from
to
The text was updated successfully, but these errors were encountered: