This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Commit 662e742
committed
Avoid N+1 queries fetching
Previously, this was going through an unnecessarily complex Java-esque design pattern, just to execute a query that can be much better served by using a `prefetch_related` Django combinator.Upload.errors
1 parent 8f73894 commit 662e742
12 files changed
Lines changed: 15 additions & 158 deletions
File tree
- codecov/commands
- core/commands/upload
- interactors
- tests
- tests
- graphql_api
- actions
- types
- commit
- upload
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
This file was deleted.
Whitespace-only changes.
This file was deleted.
Whitespace-only changes.
Lines changed: 0 additions & 74 deletions
This file was deleted.
Whitespace-only changes.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 26 | | |
50 | 27 | | |
51 | 28 | | |
| |||
0 commit comments