This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Filters are not re-evaluated with non-simple input when present in an object/array literal #15964
Labels
Milestone
This is something not handled correctly by 25f008f which started shallow-watching the inputs to object/array literals (even if those inputs are non-simple). But in some cases those inputs might go through filters which change output based on non-shallow state.
Before 25f008f such expressions would throw an infdig error so this is not a regression. However once ng-class started using this it caused one version of #15905 (the other version would be nested objects, this is the objects-passed-to-filters version).
Here is a test showing this problem (can be pasted into parserSpec.js):
Note: interceptors and filters need the same fix in order to solve #15905
The text was updated successfully, but these errors were encountered: