Changes between Initial Version and Version 1 of Ticket #35235, comment 11


Ignore:
Timestamp:
Feb 21, 2024, 9:02:18 AM (3 months ago)
Author:
David Sanders

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35235, comment 11

    initial v1  
    22> Foot gun that we could probably disarm by making `BaseExpression.output_field` a `@property` that clears the `_output_field_or_none` cache on assignment as I wouldn't be surprised other well intended `.output_field` assignments are not working as expected.
    33
    4 Would there be any harm in simply removing `@cached_property` on `BaseExpression._output_field_or_none`? 🤔  It's body is simply:
     4Would there be any harm in simply changing `@cached_property` on `BaseExpression._output_field_or_none` to `@property`? 🤔  It's body is simply:
    55
    66{{{
Back to Top