Flagsmith / Flagsmith/flagsmith-common

Add `allow_client_traits_in_evaluation` to environment schema

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
4
Avg merge
2d 9h
Merged PRs (30d)
10

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.