Open leighmcculloch opened 2 months ago
It's desirable to be able to export types from a contract that have been defined in another crate or contract.
See discussions about doing that here:
Ideally a way to use a type in a contract functions interface, where that type is defined in another crate or another contract.
A manual way to redefine the same type, as a type-alias of sorts, and somehow adopt the structure of the type defined elsewhere and be compatible.
This issue is similar and related to:
What problem does your feature solve?
It's desirable to be able to export types from a contract that have been defined in another crate or contract.
See discussions about doing that here:
What would you like to see?
Ideally a way to use a type in a contract functions interface, where that type is defined in another crate or another contract.
What alternatives are there?
A manual way to redefine the same type, as a type-alias of sorts, and somehow adopt the structure of the type defined elsewhere and be compatible.