realign user API endpoints#11963
Conversation
…icable to the current user
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@matmair I've created linked issues for the app and the python bindings - these will need to be updated too |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11963 +/- ##
==========================================
- Coverage 91.46% 90.74% -0.72%
==========================================
Files 974 974
Lines 50704 51315 +611
==========================================
+ Hits 46374 46565 +191
- Misses 4330 4750 +420
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…refactor-user-endpoints
|
change for inventree-python is in; I will try my hand at the app but i have not done anything in dart properly in years |
|
@SchrodingersGat the only thing blocking the CI is the failing test that is adresses in inventree/inventree-python#303 |
|
@matmair do you have an urgent need for this, or is an idealistic change? This will introduce a major breaking change for any clients (i know I'll have a few to manage) - can we make this a |
|
@SchrodingersGat I have changed around a few things to make this non-breaking for now while still pushing new users/implementations to use the clearer structure. |
|
I'm happy with the legacy endpoints approach. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
* realign user API endpoints to make it clearer which one are only applicable to the current user * fix name * bump api * fix test * fix reference * fix test exception * update ref * reduce breakage * re-add legacy urls till next `breaking`
* realign user API endpoints (#11963) * realign user API endpoints to make it clearer which one are only applicable to the current user * fix name * bump api * fix test * fix reference * fix test exception * update ref * reduce breakage * re-add legacy urls till next `breaking` (cherry picked from commit 9908870) * remove fallback * fix style * fix style * fix performance test

realign user API endpoints to make it clearer which one are only applicable to the current user
Required Client Changes