open-feature / spec

OpenFeature specification
https://openfeature.dev
Apache License 2.0
667 stars 35 forks source link

Add Client and Provider to Hook Requirement 1.3 #85

Closed beeme1mr closed 2 years ago

beeme1mr commented 2 years ago

Objective

Extend the list of immutable properties to include the client and provider.

NOTE: There's a proposal to change how the provider is exposed to hooks. That issue should be addressed before working on this one.

Reference

justinabrahms commented 2 years ago

This would mean that we would expect hooks to not add other hooks to the client and, if/when #75 lands, they shouldn't be able to alter the evaluation context in the client or API.

I think this seems fine, just want to call that out explicitly.

toddbaert commented 2 years ago

I think https://github.com/open-feature/spec/issues/84 makes this redundant.