Skip to content

Conversation

@gagantrivedi
Copy link
Member

Summary

  • Add feature_type field to FeatureMetadata struct so it's available in FlagResult
  • Make Feature.feature_type public so it can be accessed by mappers
  • Default to "STANDARD" when the source feature type is None

This allows consumers (like edge-proxy-rs) to know whether a feature is STANDARD, MULTIVARIATE, etc. without hardcoding the value.

Add feature_type field to FeatureMetadata struct so it can be included
in FlagResult. This allows consumers to know whether a feature is
STANDARD, MULTIVARIATE, etc.

Changes:
- Make Feature.feature_type public
- Add feature_type: String to FeatureMetadata with default "STANDARD"
- Update mappers to populate feature_type from Feature, defaulting to
  "STANDARD" when the source value is None
@gagantrivedi gagantrivedi requested a review from a team as a code owner January 19, 2026 10:08
@gagantrivedi gagantrivedi requested review from Zaimwa9 and removed request for a team January 19, 2026 10:08
@gagantrivedi gagantrivedi merged commit b8fc3d7 into main Jan 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants