Changes between Initial Version and Version 1 of Ticket #35235, comment 11
- Timestamp:
- Feb 21, 2024, 9:02:18 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35235, comment 11
initial v1 2 2 > 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. 3 3 4 Would there be any harm in simply removing `@cached_property` on `BaseExpression._output_field_or_none`? 🤔 It's body is simply:4 Would there be any harm in simply changing `@cached_property` on `BaseExpression._output_field_or_none` to `@property`? 🤔 It's body is simply: 5 5 6 6 {{{