-
Notifications
You must be signed in to change notification settings - Fork 28
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
Relatively new composite queries candid format is not supported in IC-PY #111
Comments
A good example for #63 is:
See how "confirmation_code" is defined inline? This is from the Internet Identity canister: rdmx6-jaaaa-aaaaa-aaadq-cai. If I delete "confirmation_code:" then it parses correctly, but can't handle what I'm calling inline naming/variable definitions. |
From the official Candid spec, I don't see such grammar to define func arguments inline. Seems the candid from |
Interesting. Ok, I'll dig a bit more on this. |
I cannot reproduce this locally. I tried the following did file
|
Is IC-PY still being maintained? Is there a way to get new composite query functionality added to the candid parsing?
Also interested in putting in a plug for #63. If you use a variable to define a candid value and include it inline (meaning within parentheses in a function) then the candid parser fails.
Thanks.
The text was updated successfully, but these errors were encountered: