I write about the frustration that can occur when dealing with string and atom-based keys in maps and how to (safely) translate string-based map keys to atoms:
Corresponding tweet for this thread:
Share link for this tweet.
Very interesting! We’ve had to deal with this problem at times, especially in our command enrichment in Commanded.
In fact, we use the unsafe method because it’s mostly internal and we use
Vex to validate the passed parameters.
But inside the boundary, it makes perfect sense!