Files
Rodrigo ZhouandGitHub dcdcc54096 Fix delete search attributes in mutable state (#4767)
<!-- Describe what has changed in this PR -->
**What changed?**
When merging map of payloads, if the `src` map contains `nil` value or
an empty list, it should remove the key from the `dst` map. Fixing the
comparison to check only the encoding type and the value instead of the
proto value. This ensures that additional data in the metadata map won't
affect the result.

<!-- Tell your future self why have you made these changes -->
**Why?**
^

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
2023-08-11 12:38:56 -05:00
..