Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.56k stars 345 forks source link

feat(api-usage): add `subscription.plan` trait to `flagsmith.get_identity_flags` #4247

Closed matthewelwell closed 6 days ago

matthewelwell commented 6 days ago

Changes

Adds the subscription.plan trait to the call to flagsmith.get_identity_flags so that we can segment on only free plan users for example.

How did you test this code?

Updated existing unit test to assert correct traits are added.

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **docs** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/docs/CMEwwzgqekzpeT7FiCshhdVDzMJW)) | | | Jun 26, 2024 1:44pm | | **flagsmith-frontend-preview** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-preview/HE7anLZn6Dz4YcPfNEcB386ZS9pS)) | | | Jun 26, 2024 1:44pm | | **flagsmith-frontend-staging** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-staging/6zV9KJuYrUKQ1kEKXHqNJfSNpJfw)) | | | Jun 26, 2024 1:44pm |
github-actions[bot] commented 6 days ago

Uffizzi Preview deployment-53526 was deleted.