Our team implements two custom feature filters: MyContextualFilter & MyFeatureFilter.
As soon as we upgrade from v2.6.1, we receive the following error Microsoft.FeatureManagement.FeatureManagementException: The feature filter 'MyContextual' specified for feature 'TEST-123' was not found. after calling await _featureManager.IsEnabledAsync("TEST-123").
- I thought maybe it was an issue with how the flag was created, so I used another arbitrary name and it resulted in the same error.
- The breakpoint set in both feature filters at the start of
EvaluateAsync is never hit
This is where the error originates from and it seems like it has to be related to this change, as its the only change on this file since v3.0.0 was released.
Anyone have any ideas? Really scratching our heads here, and we need to upgrade ASAP
ETA: it seems weird that the contextual filter would be throwing an error when no context is being provided to use that filter