Enable `assumeImmutableResults` in ee/app/assets/javascripts/threat_monitoring/policy_editor.js
-
Set assumeImmutableResults
totrue
in the Apollo provider that's instantiated in ee/app/assets/javascripts/threat_monitoring/policy_editor.js. -
Verify that the app is working properly. -
If needed, update the implementation so that the app works with immutable objects (e.g. leverage immer
for cache mutations).
Edited by Natalia Tepluhina