Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Improvements for API endpoints #7794

Merged

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Aug 2, 2024

Fixes some query / lookup inefficencies in the various API endpoints.

- Improve API query efficiency
- Add extra export fields to the BuildItemSerializer
@SchrodingersGat SchrodingersGat added api Relates to the API refactor labels Aug 2, 2024
@SchrodingersGat SchrodingersGat added this to the 0.16.0 milestone Aug 2, 2024
Copy link

netlify bot commented Aug 2, 2024

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

Name Link
🔨 Latest commit 00086bc
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66adc2bd6c5d3f00086396f8

@SchrodingersGat SchrodingersGat changed the title [API] Improvements for BuildItem endpoints [API] Improvements for API endpoints Aug 2, 2024
Copy link

codecov bot commented Aug 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.50%. Comparing base (6fd5a99) to head (b2ba9d9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7794   +/-   ##
=======================================
  Coverage   83.49%   83.50%           
=======================================
  Files        1121     1121           
  Lines       49829    49839   +10     
  Branches     1645     1645           
=======================================
+ Hits        41606    41616   +10     
  Misses       7781     7781           
  Partials      442      442           
Flag Coverage Δ
backend 85.24% <100.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SchrodingersGat SchrodingersGat merged commit dee519e into inventree:master Aug 3, 2024
22 checks passed
@SchrodingersGat SchrodingersGat deleted the allocated-stock-fields branch August 3, 2024 06:13
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.

1 participant