Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6024 +/- ##
=======================================
Coverage 97.99% 98.00%
=======================================
Files 1275 1277 +2
Lines 44892 44981 +89
=======================================
+ Hits 43993 44083 +90
+ Misses 899 898 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Docker builds report
|
There was a problem hiding this comment.
Looks good, but we also need to update: https://github.com/Flagsmith/flagsmith/blob/main/api/edge_api/identities/serializers.py#L55 and add tests for https://github.com/Flagsmith/flagsmith/blob/main/api/environments/identities/views.py#L41 and https://github.com/Flagsmith/flagsmith/blob/main/api/environments/identities/views.py#L99 and https://github.com/Flagsmith/flagsmith/blob/main/api/environments/identities/traits/views.py#L112
@gagantrivedi Thanks! Unpacking the multiple changes:
|
You're right, added tests here: 1ba40b9. I also did a search through the API and it looks like these were all views affected by the model change. Thanks for pointing them out so far! |
5653858 to
6369c8b
Compare
Contributes to #5490.
Rewrites how the endpoint
/api/v1/identities/handles input, properly validating data, and ultimately rejecting invalid identifiers.This includes a state-only migration (safe to apply without database changes).