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

Add Value module to support path and blob inside Candid value #4

Merged
merged 5 commits into from
May 2, 2021

Conversation

chenyan2002
Copy link
Contributor

No description provided.

@chenyan2002 chenyan2002 merged commit 733a806 into master May 2, 2021
@chenyan2002 chenyan2002 deleted the value branch May 2, 2021 22:18
arg = encode ();
wasm_module = file "your_wasm_file.wasm";
mode = variant { install };
canister_id = id.canister_id; // TODO

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It says TODO here.

Is that a stale comment? Seems not to be stale, as this PR is adding value syntax, but not expression syntax (for projection from a record, etc.).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, value projection is not supported, so this line won't work. You will need to manually copy the canister id returned from last call.

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.

3 participants