Yan Chen

Results 121 comments of Yan Chen

Close in favor of https://github.com/dfinity/candid/pull/395

I cannot reproduce this. `lifecycle` is in the default features, maybe that's why you see it?

With the current implementation, I think we won't get the error unless you are sending the new tag `#NotAuthorized` as the value. With the new spec change, the error variant...

That's the goal. The error type should be `opt CreateInvoiceErr`, then `null` indicates the unknown tag.

> any update on being able to generate the did file without having to compile once and execute code at runtime? No plans for this. Would it help if `dfx...

> Can't you just use a Rust parser and use that to compile down to Candid? No. You need at least the def-use info, which requires non-trivial understanding of the...

This is working as expected. Here is the did file from the Motoko code: ``` type canvalue_backend = service { test: () -> (R) query; }; type R = record...

You can construct an Actor from the principal, but it's current not done automatically. It can be a feature request, but it's not a bug, the current format is specified...

> No, ac in my original message isn't a Principal. It is some value that I have no idea how to use it. `ac` is a record. `ac.value` is a...

Sure, once we make a new release for ic-utils.