OWASP / OWASP/Nest

Optimize `latestRelease` field in `RepositoryNode`

Open
#3,663 11 comments 0 reactions 0 assignees View on GitHub
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.

Image

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.