Skip to content
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

Add Feature flag for Anoncreds #325

Open
Tracked by #78
elribonazo opened this issue Nov 6, 2024 · 0 comments
Open
Tracked by #78

Add Feature flag for Anoncreds #325

elribonazo opened this issue Nov 6, 2024 · 0 comments
Assignees

Comments

@elribonazo
Copy link
Contributor

Proposed feature

We want to enable feature flag for some of our features, the main reason is because we want to enforce developers to manually opt-in.

The reasons behind this is mainly to simplify our ecosystem by disabling some features by default. This does not mean they are not working but, probably there's some known issues or code quality improvements that should happen before we consider this as passed the experiment.

We may also want to have a generalized system to enable other feature flags across the SDK and have an easy way to validate this functionality.

Feature description

Feature flags will be a configuration parameter in the Agent Options and we will use booleans to disable or enable opt-in to the specific feature (anoncreds)

If Anoncreds is not manually opted-in by the Identus developer we will throw an exception if Anoncreds is used in any of our flows.

Ex) Disabled flag, Holder receives Anoncreds Credential, Offer or Presentation. Error is thrown because the feature is not active.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants