Optimize `latestRelease` 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 latestRelease field, we get N+1 queries.
**Describe the solution you'd like**
We don't have any optimization hints passed to the `strawnerry_django.field` decorator, but we may just populate this field in the database.
**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.