fluencelabs / marine

Marine runs multi-module WebAssembly applications with interface-types and shared-nothing linking scheme
GNU Affero General Public License v3.0
198 stars 25 forks source link

generate aqua alias from rust alias #115

Open dzmitry-lahoda opened 3 years ago

dzmitry-lahoda commented 3 years ago
/// persistent id outliving services, but represent same entity
#[marine]
pub type ReplicaSetId = String;

will give

--- persistent id outliving services, but represent same entity
aqua ReplicaSetId : string
dzmitry-lahoda commented 3 years ago

with lack of ide, it will give help and hints and no need to type manually in aqua stuff suggested by backend(rust developer)

mikevoronov commented 2 years ago

It depends on a support of type aliases in marine-rs-sdk https://github.com/fluencelabs/marine-rs-sdk/issues/73.