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

Support the OpenFeature Provider #6

Closed
shanman190 opened this issue Aug 23, 2023 · 1 comment · Fixed by #27
Closed

Support the OpenFeature Provider #6

shanman190 opened this issue Aug 23, 2023 · 1 comment · Fixed by #27
Assignees
Labels
enhancement New feature or request recipe

Comments

@shanman190
Copy link
Collaborator

https://openfeature.dev/

LaunchDarkly has a provider interface that can be used behind OpenFeature. This issue is to track and see if adding such support would be desired by the community.

@shanman190 shanman190 added the enhancement New feature or request label Aug 23, 2023
@timtebeek timtebeek moved this to Backlog in OpenRewrite Aug 23, 2023
@timtebeek
Copy link
Contributor

Had a very brief look at the docs: https://openfeature.dev/docs/reference/technologies/server/java#usage

With the new-ish methodPattern argument to RemoveBoolVariation it should be trivial to now also support OpenFeature's Client getBooleanValue(String, boolean)
https://github.com/openrewrite/rewrite-launchdarkly/blob/b053c8ae509fa8c7c5bdbe8104d6b03d38d05da3/src/main/java/org/openrewrite/launchdarkly/RemoveBoolVariation.java#L64-L70

Might be nice to add as an explicit recipe, in an appropriate openfeature package in this repository, such that it's easier to find for folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request recipe
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants