Optimize `issues` field in `RepositoryNode`
Open
backend
backend-tests
enhancement
- Dominant language
- Python
- Stars
- 451
- Forks
- 707
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 91
Description
**Is your feature request related to a problem? Please describe.**
When querying the issues field, we get N+1 queries.
**Describe the solution you'd like**
The current optimization hint is not enough for optimizing the query. We should use Prefetch instead.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Are you going to work on implementing this?**
- [ ] Yes
- [x] No
**Additional context**
https://strawberry.rocks/docs/django/guide/optimizer#optimization-hints
Contributor guide
Assessment
This issue has not been assessed yet.