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

Manual decorator option now applies to arguments (breaking changes) #2638

Merged
merged 8 commits into from
Feb 4, 2025

Conversation

lastmjs
Copy link
Member

@lastmjs lastmjs commented Feb 3, 2025

Contributor

  • Code has been declaratized
  • All new functions have JSDoc/Rustdoc comments
  • Error handling beautiful (no unwraps or expects etc)
  • Code tested thoroughly
  • PR title:
    • Indicates breaking changes with suffix "(breaking changes)"
    • Sentence cased
  • Related issues have been linked and all tasks have been completed or made into separate issues
  • New documentation enumerated in the release issue
  • All breaking changes
    • Described below in the "Breaking Changes" section
    • Migration path described

Reviewer

  • Code has been declaratized
  • All new functions have JSDoc/Rustdoc comments
  • Error handling beautiful (no unwraps or expects etc)
  • Code tested thoroughly
  • PR title:
    • Indicates breaking changes with suffix "(breaking changes)"
    • Sentence cased
  • Related issues have been linked and all tasks have been completed or made into separate issues
  • New documentation enumerated in the release issue
  • All breaking changes
    • Described below in the "Breaking Changes" section
    • Migration path described

Breaking Changes

The manual property in the canister method decorators @query and @update will now turn off the automatic decoding of the method's arguments. You should use IDL.decode to manually decode arguments if you have set a method to manual.

@lastmjs lastmjs changed the title update manual to also apply to decoding the candid arguments Manual decorator option now applies to arguments Feb 3, 2025
@lastmjs lastmjs changed the title Manual decorator option now applies to arguments Manual decorator option now applies to arguments (breaking changes) Feb 3, 2025
@lastmjs lastmjs linked an issue Feb 3, 2025 that may be closed by this pull request
3 tasks
@lastmjs lastmjs marked this pull request as ready for review February 3, 2025 20:46
@lastmjs lastmjs enabled auto-merge February 3, 2025 20:46
@lastmjs lastmjs requested a review from bdemann February 3, 2025 20:46
@lastmjs lastmjs merged commit 8869811 into main Feb 4, 2025
375 checks passed
@bdemann bdemann deleted the extend_manual branch February 7, 2025 22:15
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.

Extend manual functionality
2 participants