Skip to content

Optional default values? #86

Description

@martinwennerberg

Hi,

Is there a way to find out if there's an evaluation for a flagKey?

My problem is that I don't have a defaultValue to pass in to EppoClient at the point where Eppo is integrated in my app.

If for instance instance

func getBooleanAssignment(
    ...
    defaultValue: Bool) -> Bool

looked like this instead:

func getBooleanAssignment(
     ...
    defaultValue: Bool? = nil) -> Bool?

Alternatively there could be a way to find out if the Configuration includes the flagKey.

Or is there another way to get around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions