Skip to content
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

Promote to v3.2.2 #33

Merged
merged 5 commits into from
Jan 12, 2025
Merged

Promote to v3.2.2 #33

merged 5 commits into from
Jan 12, 2025

Conversation

tomijaga
Copy link
Member

  • update format_candid_type() so it resolves candid type aliases like #Blob to their canonical type, #Array(#Nat8)
    • helps internally to find the unique hash of a compound type when encoding
  • Require users to format candid type before passing it as an encode/decode options
    • the performance improvement comes from the user formatting the type once, saving it and passing it into the encoder/decoder instead of the encoder/decoder formatting on every execution
    • expose formatCandidType() as a Candid helper function

…ike #Blob to their canonical type, #Array(#Nat8)

- helps internally to find the unique hash of a compound type when encoding
…ncode/decode options

- the performance improvement comes from the user formatting the type once, saving it and passing it into the encoder/decoder instead of the encoder/decoder formatting on every execution
- expose formatCandidType() as a Candid helper function
@tomijaga tomijaga merged commit 15aef82 into main Jan 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant