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
Yes, that is somewhat expected; in the Candid IDL (https://github.com/dfinity/candid/blob/master/IDL.md) blob and vec nat8 are aliases. I think there is work towards making that less annoying for blob (i.e. import it into motoko as Blob again), but in general this problem is unavoidable, and will surface with other types.
You can just write A.mo using Blob, but then you don’t get to use the nice type import feature…
Hi all! Hope everything has been going well, I've recently started building stuff with the SDK again and had a quick question.
I have two files:
This produces an error:
Is this expected? I can change
A
to use[Nat8]
, but I'm trying to keep the types the same. Thanks!The text was updated successfully, but these errors were encountered: