Trying to configure feature flags for my azure based application, I ran into a problem.
I have configured custom filters for some feature flags. Once defined as such, feature flags stop working when applied to actions (FeatureGate notation).
What I would like to achieve is:
If the feature is disabled (Enable feature flag checkbox is unchecked on Azure Feature Manager): the feature is not enabled for anyone.
If the feature is active (Enable feature flag checkbox is checked on Azure Feature Manager): the function is enabled (and thus decorating my controller method with FeatureGate, I pass the check and continue), but ... when I invoke IsEnabledAsync and I pass a specific object (thus using the custom filter) I discriminate which objects are authorized and which are not.
Is this feasible with just one feature flag? Or do I have to use two different ones (one for the controller / action and one for invoking IsEnabledAsync)?