Skip to content

Add allow_client_traits_in_evaluation to environment schema #174

Description

@khvn26

Add a new bool field allow_client_traits_in_evaluation (default True) to the environment schema in flagsmith-common. This field controls whether client-sent traits are used for segment evaluation, separately from allow_client_traits which controls trait persistence.

The default of True preserves backwards compatibility — existing environments with allow_client_traits=False will continue using client-sent traits for evaluation until explicitly opted out.

Release a new flagsmith-common version with this change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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