-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No possibility to run contextual filters when calling GetVariantAsync #485
Comments
I was thinking about this and it may not be so straight forward. Using an interface, Some alternatives I'm considering it to have
and an extension method
For syntax sugar/discovery |
I agree with this. But if we add claims to |
To avoid a breaking change we'll have to come up with a new interface like |
The current signature of
IVariantFeatureManager.GetVariantAsync
isIt accepts the parameter of type
TargetingContext
.For contextual feature filter:
They can use any type of context for evaluation. When calling
GetVariantAsync
, the contextual feature filter which requires context of types othen thanTargetingContext
is unuseable.We need to change the
GetVariantAsync
to accept parameter ofITargetingContext
.The text was updated successfully, but these errors were encountered: