This message was deleted.
# general
s
This message was deleted.
i
ah my bad, I've made this mistake before. I need to comment out the
stack.refresh()
call if I need to clear something out of the remote (?) cache
though, still struggling to get my provider to serialize. Seems there are a lot of quirks to function serialization. I'm trying to create a hash digest from an input JSON but I need to shape the JSON in a deterministic way before doing stringify -> encode -> hash. I was hoping to use
zod
but it won't let me import my zod schema from a shared library in my nx monorepo so I tried to drop to
sort-keys
which is a very plain object, and it had trouble serializing that too (the variable
_sortKeys
is used inside a function, and declare later in the file which throws the serializer)
sort-keys
serialization error makes sense, but I also can't seem to get
isEqual
from lodash to serialize. are there any utils available to reuse? I imagine object comparison is a common task inside of a provider