Skip to content

feat: implement multi provider #645

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

Closed
wants to merge 28 commits into from

Conversation

bbland1
Copy link
Contributor

@bbland1 bbland1 commented Mar 6, 2025

This PR

Related Issues

Fixes #599

Notes

I know @jblacker worked on implementing the strategies and made a PR #668 so I don’t know how they overlap with what I have here so far. I know this is in progress so I don’t think it is ready to be fully reviewed yet.

Follow-up Tasks

  • the evaluation methods need to be implemented using the strategy
  • hooks need to be finished to be implemented
  • the strategies need to be built
  • events needs to be implemented

How to test

@bbland1 bbland1 changed the title 599/implement multi provider feat:implement multi provider Mar 6, 2025
@bbland1 bbland1 changed the title feat:implement multi provider feat: implement multi provider Mar 6, 2025
bbland1 and others added 20 commits March 8, 2025 18:40
Signed-off-by: OpenFeature Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: bbland1 <[email protected]>
Signed-off-by: OpenFeature Bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: bbland1 <[email protected]>
@github-actions github-actions bot requested a review from toddbaert March 8, 2025 23:40
@bbland1
Copy link
Contributor Author

bbland1 commented Mar 28, 2025

I am still working on this I have been a bit under the weather recently

@jblacker
Copy link
Contributor

jblacker commented Apr 7, 2025

@bbland1 I'd love to help out on this. I need to use this for a few projects and rather contribute here than rolling my own. Personally I would only need the "First Match" strategy, but happy to work on whatever. If I don't hear back I'll pull this into my fork to begin working on implementing that strategy.

@bbland1
Copy link
Contributor Author

bbland1 commented Apr 7, 2025

@jblacker I'd appreciate the help. I was working through the provider and I got a bit sick 😅. I’m working on getting the evaluation methods of the multiproivder tonight so the required parts should be there.

I haven't delved too much into the strategies yet but I was planning to have a strategies directory and have a BaseEvaluation then start the FirstMatch to extend that. If you re still down for it, thanks!

@jblacker
Copy link
Contributor

jblacker commented Apr 8, 2025

On it! Hope you're feeling better!

@jblacker
Copy link
Contributor

jblacker commented Apr 9, 2025

If you take a look at my fork I have the FirstMatch strategy completed. I'm going to take a shot at FirstSuccess as well before I open a PR

bbland1 added 3 commits April 9, 2025 15:53
…where it should be when strategies pushed

Signed-off-by: bbland1 <[email protected]>
…e used to define custom strategies

Signed-off-by: bbland1 <[email protected]>
…rategies similar to TS and passing that type into the provider

Signed-off-by: bbland1 <[email protected]>
@jblacker
Copy link
Contributor

I ended up implementing the rest of the provider since I needed to use it in another project. The PR is open @ #669. I did not implement hooks or eventing yet if you want to take that on from my fork.

@bbland1
Copy link
Contributor Author

bbland1 commented Apr 24, 2025

@jblacker I just saw that PR, I’ll have to look it over and maybe I can help with the hooks. I know you needed it for a project but I appreciate the work on it and using this branch to push it forward.

@beeme1mr
Copy link
Member

Closing in favor of #669. Thanks for kicking it off @bbland1! 🎉

@beeme1mr beeme1mr closed this Apr 26, 2025
@bbland1 bbland1 deleted the 599/implement-multi-provider branch April 26, 2025 17:51
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.

Implement Multi-Provider
8 participants