-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICRC3 problems #31
Comments
Hey @infu, Thanks for reporting the issue. For the type issue, I can add
No, it's not currently possible to convert without the list of fields.
Yes, it will convert any number of nested records or arrays. |
Thanks, it's okay to have another method |
Hey @infu, |
The ICRC3 example from https://raw.githubusercontent.com/NatLabs/serde/main/usage.md#icrc3-value doesn't work
There is one here https://github.com/NatLabs/serde/blob/main/tests/Candid.ICRC3.Test.mo
that does work, but it's not converting the object to a ICRC3 Generic Value type, it's still Candid type.
I am assuming it's only using the ICRC3 fields, but the type is incompatible when we try to use it.
We need it to be with this type, without all the extra Candid variations
Also, is it possible to not have to write down a list of fields, so it does them automatically?
Will it convert the whole nested structure recursively? Or it can only convert flat records ?
The code we are trying to write is
The text was updated successfully, but these errors were encountered: