Closed
Description
Current Situation
There are a number of usability problems with use_query
:
- Prefetch logic is not perfect and can have significant performance costs:
use_query
does not properly pre-fetch some model fields #110 - The interface does not lend itself to future extensions: Add ability to disable
Model
/QuerySet
restrictions onuse_query
#104, Addfetch_policy=...
touse_query
#103 - And that, when a user accesses a field that has not been pre-fetched in the scope of a render function, the
SynchronousOnlyOperation
error they get from Django does not communicate this fact and how to resolve it.
Proposed Actions
Discuss and arrive at a solution to each of the above problems. I'll update this section as we reach consensus on how to proceed.
Metadata
Metadata
Assignees
Labels
No labels