Skip to content

Add support for multiple error handling strategies #6

Open
@yakovmanshin

Description

@yakovmanshin

In addition to replacing an unsuccessfully resolved value with defaultValue, FeatureFlag should be able to pursue additional strategies, such as:

  • calling a custom closure (something like (FeatureFlag, Error) -> Value);
  • returning wrappedValue as optional;
  • re-throwing the resolver error;
  • etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew feature or requestresearchThe topic needs research and clarification

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions