Comments (6)
Hi @amunim - we're looking into this.
We don't return tags with flags as we feel that is private data that should not be sent down to the client.
from flagsmith-dotnet-client.
from flagsmith-dotnet-client.
Hi @amunim, I'm afraid not. It's a design decision that we have taken. There is no way to retrieve the tags from the SDKs.
I am looking into the issues you're having installing the client now.
from flagsmith-dotnet-client.
If it helps, I also tried installing it on my ASP.Net project and got the same error again.
One more thing I noticed in .Net docs
# Sync
# The method below triggers a network request
var flags = _flagsmithClient.GetEnvironmentFlags();// <-------- where is .Result here? # This method triggers a network request
var showButton = flags.IsFeatureEnabled("secret_button");
var buttonData = flags.GetFeatureValue("secret_button").Result;
# Async
# The method below triggers a network request
var flags = await _flagsmithClient.GetEnvironmentFlags(); # This method triggers a network request
var showButton = await flags.IsFeatureEnabled("secret_button");
var buttonData = await flags.GetFeatureValue("secret_button").Result; // <--------------- why are you using await and result in the same statement?
from flagsmith-dotnet-client.
@amunim I have just pushed version 4.0.1 which you should now be able to install?
Those docs certainly look incorrect to me, I will take a look - thanks for pointing it out.
from flagsmith-dotnet-client.
Thanks, it finally worked and I have submitted my article to Matt.
Lastly, can you read it and look at the t4/tt script I embedded, I believe this can help reduce the friction on feature flags, so if you decide on including it on the project it will be useful not only in .NET but other languages too to have constants :)
from flagsmith-dotnet-client.
Related Issues (18)
- HttpClient is intended to be instantiated once and re-used throughout the life of an application HOT 1
- When identity is specified a redundant slash character is added in the end HOT 2
- Caching does not implement a max size HOT 3
- API is using deprecated endpoint HOT 1
- Implement SDK-side Caching HOT 7
- Don't log errors using Console.WriteLine HOT 3
- FlagsmithClient's interface was completely changed HOT 2
- When called consecutively, HasFeatureFlag method gets an error on the second run HOT 8
- using .NET client SDK always return "Value cannot be null. Parameter name: value" error HOT 12
- MV evaluation is not consistent with API in local evaluation mode HOT 1
- Not getting flags after hitting request second time from method GetIdentityFlags HOT 5
- Flagsmith open feature provider HOT 1
- Question: DI registration example HOT 1
- Question: Cancellation token for async methods HOT 2
- Exception: System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported HOT 5
- Identity overrides in local evaluation mode
- Fix package validation errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flagsmith-dotnet-client.