Hi,
I’m running (probably a few months later than everyone lol) into the notorious “Hashmaps can’t be stable” issue.
Like many, I’d love to avoid having to manage pre/post upgrade scripts, so I’m looking into using @ZhenyaUsenko’s motoko-hash-map.
(if anyone thinks it’s not the best decision, please speak up!)
My questions are:
- there’s no mops package, right ? I’ve read I should use
import Map "motoko-hash-map/src/Map/Map"
to use it but how do I clone it into my project before (sorry I’ve only ever used npm packages… ) - does anyone have public examples of how they’re using it ?
- I currently have Hashmaps in my main Hashmap. Do I have to use the library for all of them or only for the main (outtermost) one ?
Thanks!