chatmail / chatmail/yerpc

yerpc feature request: adding a feature to support `typeshare` in addition to

Open
#58 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
51
Forks
9
Avg merge
21m
Merged PRs (30d)
2

Description

I found the original feature request button redirected to me to the forum of deltachat, which is not about the `yerpc` lib.

I'm creating a feature request for `typeshare`. Because it is easier to extend external types like `uuid::Uuid` without introducing a proxy type.

https://github.com/1Password/typeshare

The initial problem is like this: https://github.com/dbeckwith/rust-typescript-type-def/issues/28
```rs
impl TypeDef for Uuid {
const INFO: TypeInfo = TypeInfo::Native(NativeTypeInfo {
r#ref: TypeExpr::ident(Ident("string")),
});
}
```

But it shows:
```
`Uuid` is not defined in the current craterustc[E0117](https://doc.rust-lang.org/error-index.html#E0117)
```

However, `typeshare` does not have a namespace feature so far: https://github.com/1Password/typeshare/issues/71

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.