You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing some message retry logic, we discovered that it's not safe to perform operations like (update-in metadata [:headers :field-here] f) because when no headers are present, the field is a java.util.Collections$EmptyMap. This type isn't associative so clojure functions like assoc/update throw exceptions when dealing with it.
The text was updated successfully, but these errors were encountered:
While writing some message retry logic, we discovered that it's not safe to perform operations like
(update-in metadata [:headers :field-here] f)
because when no headers are present, the field is ajava.util.Collections$EmptyMap
. This type isn't associative so clojure functions likeassoc
/update
throw exceptions when dealing with it.The text was updated successfully, but these errors were encountered: