[ILM] Remove immer dependency#228727
Conversation
|
Pinging @elastic/kibana-management (Team:Kibana Management) |
SoniaSanzV
left a comment
There was a problem hiding this comment.
Tested locally, lgtm :)
|
@elasticmachine run docs-build |
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
cc @sabarasaba |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Partially addresses #208213
Summary
This PR removes the plugins dependency on immer's produce function from the policy serialization and deserialization logic. The produce calls have been replaced with lodash's
cloneDeepfunction (already imported) followed by direct object mutations. This maintains the exact same functionality while avoiding the extra dependency.