Skip to content

fix(backend): API description ordering more deterministic#11649

Merged
SchrodingersGat merged 3 commits intoinventree:masterfrom
matmair:fix(backend)--API-description-ordering
Mar 31, 2026
Merged

fix(backend): API description ordering more deterministic#11649
SchrodingersGat merged 3 commits intoinventree:masterfrom
matmair:fix(backend)--API-description-ordering

Conversation

@matmair
Copy link
Copy Markdown
Member

@matmair matmair commented Mar 31, 2026

This makes references to content types sorted by label (appname.modelname) by default, should help make the API schema more predictable - see #11641 (comment)

@matmair matmair added this to the 1.3.0 milestone Mar 31, 2026
@matmair matmair self-assigned this Mar 31, 2026
@matmair matmair added api Relates to the API refactor labels Mar 31, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 734449d
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69cc261f2170380008435150

@matmair matmair mentioned this pull request Mar 31, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.44%. Comparing base (5f3e9a0) to head (734449d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11649   +/-   ##
=======================================
  Coverage   91.44%   91.44%           
=======================================
  Files         963      963           
  Lines       49796    49797    +1     
=======================================
+ Hits        45537    45538    +1     
  Misses       4259     4259           
Flag Coverage Δ
backend 89.25% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.72% <ø> (ø)
Backend General 93.40% <ø> (ø)
Frontend ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair
Copy link
Copy Markdown
Member Author

matmair commented Mar 31, 2026

i have manually checked the diff; this is ready for merge

@SchrodingersGat SchrodingersGat merged commit 1f01229 into inventree:master Mar 31, 2026
36 of 37 checks passed
@SchrodingersGat SchrodingersGat deleted the fix(backend)--API-description-ordering branch March 31, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants