Skip to content

yerpc feature request: adding a feature to support typeshare in addition to  #58

Description

@greatcat19

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: dbeckwith/rust-typescript-type-def#28

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: 1Password/typeshare#71

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions