When an actor is passed as a part of a struct, it isn't an `Actor` instance
vporton opened this issue · comments
Possibly, this bug of agent-js
is actually a bug of dfx
.
It can be a bug of either agent-js
or sdk
, I am not sure.
This is not possible with the current tooling, as both a service interface and a CanisterID are required to initialize an Actor instance.