#35235: ArrayAgg() doesn't return default when filter contains __in=[].
----------------------------------+--------------------------------------
Reporter: Per Carlsen | Owner: Sharon Woo
Type: Bug | Status: assigned
Component: contrib.postgres | Version: 5.0
Severity: Normal | Resolution:
Keywords: ArrayAgg | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Simon Charette):
> Would there be any harm in simply changing @cached_property on
BaseExpression._output_field_or_none to @property?
I would definitely support that change! The cache invalidation challenges
that the current implementation impose don't seem worth the mere caching
benefits that caching `_output_field_or_none` over the already existing
cached `output_field` cache provide.
--
Ticket URL: <https://code.djangoproject.com/ticket/35235#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018dcc6d65d6-ff3ff4ac-46f6-48d1-aa34-474164ccc1fe-000000%40eu-central-1.amazonses.com.