Skip to content

MultiProvider should emit distinct events #172

@PenguinDan

Description

@PenguinDan

Because we currently don't handle EventDetails, the MultiProvider does not implement the distinctUntilChanged operator on the events that it emits.

The specification mentions that OnConfigurationChanged emitted by child providers should always re-emit as shown here https://openfeature.dev/specification/appendix-a/#multi-provider-status.

Because OnConfigurationChanged is an object, having a distinctUntilChanged operator would prevent the multiple emits of a child OnConfigurationChanged.

There is an open PR for the event details here #170

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions