open-feature / playground

OpenFeature SDK demos and experimentation
https://openfeature.dev
Apache License 2.0
50 stars 25 forks source link

Define a truly minimal working example #60

Closed agardnerIT closed 1 year ago

agardnerIT commented 1 year ago

Related to #59 , what would a minimal working example really look like? Probably not a no-op example but I imagine reading a boolean flag from a JSON or text file.

Reasons:

toddbaert commented 1 year ago

I think minimal and minimal while meaningful/useful might be different things.

I think the demo https://github.com/open-feature/playground/pull/59 is pretty close to the minimum while being useful. To showcase even the actual benefits of OpenFeature, I'd argue you need:

Once you have these, implementing a lot of other (and much more interesting) features doesn't take much more work):

I think once the playground is completely dockerized, it will satisfy all the reasons above with almost zero effort required to run: docker compose up. This is one of the primary goals of #59 .

beeme1mr commented 1 year ago

The most recent update to the playground should provide a nice balance between minimal and meaningful. Please reopen if you disagree and provide suggestions for what could be improved.