Skip to content

[flagd] Update selector handling for consistency with sync, evaluation, and OFREP services #789

@aepfli

Description

@aepfli

Context

This ticket follows open-feature/flagd#1814, which aims to normalize selector usage across all flagd services. Currently, selectors are handled differently in sync, evaluation, and OFREP services.

Requirements

Tasks

  1. Audit all usages of selector in go-sdk-contrib (including SDK components interacting with flagd)
  2. Update to prefer flagd-selector header when communicating with flagd services
  3. Ensure backward compatibility where needed
  4. Document selector handling patterns for maintainers and users
  5. Prepare for future removal of deprecated behaviors

Benefits

  • Predictable and consistent selector support when integrating with flagd
  • Lower maintenance burden for migration in future major releases

Additional notes

  • Work in alignment with the migration guidance and deprecation plan discussed in the core flagd ticket.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions