flagsmith
flagsmith copied to clipboard
fix(versioning): handle versioned environments for associated-features endpoint
Changes
Adds a new query parameter to the segments/:id/associated-features/ endpoint which allows us to filter segment overrides by the current environment, and hence we can filter by latest versions.
How did you test this code?
Added unit test for the API.
Tested FE changes locally.