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

Upgrade to dev version of strawberry graphql to improve performance of resolvers with generic inputs #841

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

dancoates
Copy link
Contributor

At the moment there is a issue with strawberry graphql which causes performance issues in cases where the field type for a large result set uses a generic input type. There is an outline of this issue here: strawberry-graphql/strawberry#3544 and the PR with the fix is here strawberry-graphql/strawberry#3549

This PR upgrades to the new dev version of strawberry which version includes a fix for the issue. Once an official release is out we can upgrade again.

This version includes a fix for the issue where result sets that
included many items with a resolver that used a generic input type would
be very slow.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.15%. Comparing base (17c8564) to head (b9352f8).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #841   +/-   ##
=======================================
  Coverage   79.15%   79.15%           
=======================================
  Files         161      161           
  Lines       13622    13622           
=======================================
  Hits        10782    10782           
  Misses       2840     2840           

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

@dancoates dancoates merged commit e2e73e8 into dev Jun 26, 2024
5 checks passed
@dancoates dancoates deleted the strawberry-graphql-upgrade branch June 26, 2024 01:34
@patrick91
Copy link
Contributor

This has been released in Strawberry 0.235.1 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants