Closed lauyoume closed 1 year ago
I would argue that it's not a good interface. Why cannot the canister return the principal directly?
I would argue that it's not a good interface. Why cannot the canister return the principal directly?
Yes, It is not a good design, it just an example to describe the problem aha~ It could change the design to solve this problem.
Right. I'm a bit hesitated to support this, as this may encourage bad API design. You can basically asking to convert text to any candid type. There is probably a limit on how much we can support to avoid bad API.