open-feature / ofep

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

Ofep/flag metadata to applications #44

Closed Kavindu-Dodan closed 1 year ago

Kavindu-Dodan commented 1 year ago

This PR

Proposes to introduce flag metadata exposure to the application layer.

With flag metadata such as key, flag type, application developers get the ability to build various validations, and tools on-top of already existing APIs.

beeme1mr commented 1 year ago

I think this proposal is a bit out of scope given the current focus of OpenFeature. I can see how this could be valuable but primarily for testing and CI processes. In my opinion, this shouldn't be included in the SDKs, at least not at this time.

moredip commented 1 year ago

I agree with @beeme1mr that this feels out of scope for now, but @Kavindu-Dodan I would love to understand the use case more.

What would you imagine an OF consumer (an Application Author or an Application Integrator, or some other persona) using this capability for, if we built it?

Kavindu-Dodan commented 1 year ago

Thanks for the feedback @beeme1mr & @moredip . Yes I want to think more about "how" different entities can benefit from flag metadata. I will think more about this and come back if I see better use cases than merely using it for testing and validations.