Dependency Injection with Flagd #265
Unanswered
tomflenner
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hey @tomflenner, we're working on a v2 of the .NET SDK that will make DI easier. FYI @askpt @toddbaert. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @tomflenner, You can follow the progress for the DI extensions here: #264 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi !
I can see there is a IFeatureClient interface on the .NET SDK.
Do the SDK provide a way to register this interface and use dependency injection instead of :
Api.Instance.GetClient();
I would like to write a custom attribute to protect api endpoint using open feature and flagd but I struggle a little bit with the SDK.
Thanks in advance ! 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions