strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
MIT License
391 stars 115 forks source link

Lazy loaded connections don't show filters or ordering #535

Closed Eraldo closed 3 weeks ago

Eraldo commented 1 month ago

Describe the Bug

Current: Lazy loaded connections don't show filters for their respective type in the resulting schema.

Expected: Lazy loaded connections have the same filters as non lazy loaded connections.

Minimal Reproduction: https://github.com/Eraldo/strawberry-django-lazy-connection-missing-filters-mre => README.md file contains instructions on how to reproduce the issue.

System Information



## Additional Context

I'm already super happy that lazy loaded connections work at all! 🥳 

<!-- POLAR PLEDGE BADGE START -->
## Upvote & Fund

- We're using [Polar.sh](https://polar.sh/strawberry-graphql) so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.

<a href="https://polar.sh/strawberry-graphql/strawberry-django/issues/535">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/strawberry-graphql/strawberry-django/issues/535/pledge.svg?darkmode=1">
  <img alt="Fund with Polar" src="https://polar.sh/api/github/strawberry-graphql/strawberry-django/issues/535/pledge.svg">
</picture>
</a>
<!-- POLAR PLEDGE BADGE END -->