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 featureConditions for targeting specific audience with featureFlags #1

Merged
merged 5 commits into from
Jan 17, 2025

Conversation

alexanderaagaard
Copy link

@alexanderaagaard alexanderaagaard commented Nov 12, 2024

I have added conditions returned from the Azure App Configuration Feature Flag. This way is is possible to turn on features based on specific audience parameters. The getFeatureFlag function now also returns featureConditions. If no conditions is set featureConditions is undefined. Not sure if it should be false instead?

src/index.ts Outdated Show resolved Hide resolved
@an2n
Copy link
Owner

an2n commented Jan 15, 2025

@alexanderaagaard @enja-nn
Thanks for the request
I'm happy to approve the merge once the above comment is addressed. Apologies for the delayed response.

@an2n an2n merged commit 15c5d82 into an2n:main Jan 17, 2025
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

Successfully merging this pull request may close these issues.

3 participants