-
Notifications
You must be signed in to change notification settings - Fork 34
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
Provider context type clarification #69
Comments
Changes were made following this issue happy to reopen |
I will add comments to references to make this change seem more intentional |
@rgrassian-split, does this make sense to you? Do you have any concerns? |
@beeme1mr I softly disagree and think the provider having to look up the exact string to fetch the targeting key from the map is just as troublesome as / worse than having to make an additional fetch to attributes before accessing custom attributes. It's just a soft disagree though, overall it's pretty minor and fine with either. |
One benefit to decoupling the 2 types (context passed by the client, and context passed to a provider) is that we can make changes to the client facing api without requiring all providers to be updated with the new types, although this does nto necessarily have to come in the form of the |
The
FeatureProvider
interface uses amap[string]interface{}
instead of aEvaluationContext
. Was this done intentionally?This question was asked by @rgrassian-split on Slack.
The text was updated successfully, but these errors were encountered: