Closed jawoznia closed 1 year ago
If we specify module in which interface is defined as Path sylvia will treat it as Ident.
Path
sylvia
Ident
#[contract] #[messages(crate::interface as Interface)] impl Interface for Contract { ... }
will generate f.e.
let msg = crate::ExecMsg::new(...);
Sylvia should use full path.
Sylvia
let msg = crate::interface::ExecMsg::new(...);
Current behavior
If we specify module in which interface is defined as
Path
sylvia
will treat it asIdent
.will generate f.e.
Expected behavior
Sylvia
should use full path.