Skip to content

Spike: Context Values: Clarify "Environment Name" segments behaviour #6051

@khvn26

Description

@khvn26

As we introduce the "Environment Name" context value, we are now unsure how /api/v1/flags should behave for segments that only operate on environment names.

Currently, /api/v1/flags simply returns the environment defaults without calling the segments evaluator. Arguably, it should call get_evaluation_result with provided environment context — this is the behaviour we're currently implementing in local evaluation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions