There are no global hooks nor way to add hooks to the global API client. This is required as per the [spec](https://openfeature.dev/specification/sections/hooks#44-hook-registration--ordering). Definition of done: - [ ] hooks can be added to the global API, and are run with flag evaluation - [ ] associated tests
Activity
jamescarr commentedon Jun 28, 2023
Looks like Hook support were implemented in #6?
tcarrio commentedon Jun 30, 2023
Hooks as a general feature are available at the client level, but the singleton API should also be able to define hooks essentially globally.
This is referenced in the docs here and spec here
refactor: add mypy and fix typing issues (open-feature#72)