Comments (3)
Similar concern: it's not obvious how entity_id is used in the system. I'm guessing the variants rely on that?
from flipt.
Quick thought: when the state is "on" but no targeting is defined, show a different state + a helper text saying its not active and why?
from flipt.
So you can use flags in two ways:
- simple on/off with no rules defined, no evaluation, you just wanna toggle something on and off. On or enabled in this case means if you do
GetFlag
, the enabled field will return true, and you can use that in your application as you'd like - flags with rules will only
Evaluate
if the Flag is enabled, or 'on'
I agree I think I could call this out better in the docs. Will do!
Re entityID you're right, its required to figure out which 'bucket' your evaluation request falls into so that it can reliably return the same variant for that request each time:
https://flipt.io/docs/concepts/#entities
For Flipt to successfully determine which bucket your entities fall into, it must have a way to uniquely identify them. This is the entityId and it is a simple string. It's up to you what that entityId is.
from flipt.
Related Issues (20)
- [FLI-946] Don't require DB for auth if only using JWT and non-DB flag storage
- Gitops with multiple repositories HOT 1
- Improve OpenTelemetry (OTLP) instrumentation HOT 4
- [FLI-953] Add OpenFeature Remote Evaluation Protocol Support
- UI - Flags view - Indicate if a boolean flag has a rollout set HOT 3
- Connect to multiple PostgreSQL hosts HOT 1
- [FLI-954] JWT Auth: Support custom claim validation
- Allow multiple metrics exporter (Prometheus, OpenTelemetry) HOT 4
- Internal evaluation data API does not skip auth when evaluation is marked as excluded HOT 1
- [FLI-978] Issue with latest mysql 8 release
- [Bug]: OCI registry with AWS ECR HOT 9
- [Bug]: Rules aren't being linked correctly when importing features from a config file HOT 7
- Change bar theme or add a environment label HOT 2
- [FLI-1026] Support audit logs to stdout
- Allow trust self-signed or trust insecure TLS certificate HOT 2
- [FLI-1041] [Bug]: Logout seems broken HOT 1
- Add Default Variant
- [FLI-1067] Kafka Audit Sink HOT 2
- [FLI-1068] Add failed authz attempts to audit logs
- [FLI-1069] Remove cache middleware HOT 1
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 flipt.