Closed Valian closed 5 months ago
Hi @Valian
thx for the detailed report. Luckily the mentioned function is the only issue. The fix is on the way.
Wow thank you a lot! Such a quick resolution, much appreciated! 🙏🙌
No problem! The fix was released as version 2.2.1
.
Is your feature request related to a problem? Please describe. Hi :wave: I'm building https://github.com/Valian/live_vue, a LiveView & Vue integration library. I'm checking if it's possible to minimize payload sent to the browser by sending JSON patches instead of whole objects.
I'm working with maps very often having atom keys.
Describe the solution you'd like I'd love to have diff working with atom keys. Eg.
Currently I'm getting
Describe alternatives you've considered I can deeply convert all keys to strings, but I'm not sure if it's optimal?
I can try doing a contribution on my own, just wanted to align first before diving into the code. Maybe you could also give some hints?
Additional context Related issue about atom keys: https://github.com/corka149/jsonpatch/issues/8