open-feature / ofep

A focal point for OpenFeature research, proposals and requests for comments
https://openfeature.dev
20 stars 15 forks source link

[Proposal][Design] Evaluation interface in FlagD #8

Closed AlexsJones closed 2 years ago

AlexsJones commented 2 years ago

image

In order to separate concerns between the syncProvider and the rendering of evaluated flags. It makes sense to pull these two concerns apart.

This has the added benefit that the ServiceProvider can use the current IEvaluate interface in an agnostic manner to provide it's service implementation with the right Flag Data based on the sync.

This potentially also makes it far easier to implement rules later on by allocating them in a similar interface-driven method at the point of evaluation rather than mixed within the sync.

toddbaert commented 2 years ago

This was completed with https://github.com/open-feature/flagd/pull/28. @beeme1mr @AlexsJones re-open if you disagree.