Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialized incorrect name with type alias #75

Open
wonchulee opened this issue May 14, 2021 · 2 comments
Open

Serialized incorrect name with type alias #75

wonchulee opened this issue May 14, 2021 · 2 comments

Comments

@wonchulee
Copy link

wonchulee commented May 14, 2021

Hello,

There's some type defined with the type alias, for example, https://github.com/lumeohq/onvif-rs/blob/main/schema/src/media2.rs#L425 is not working correctly because it serialized to the existing type name.

@arunkd13
Copy link

Do you mind elaborating more on the issue? The link you have pasted gives a 404 error.

@wonchulee
Copy link
Author

wonchulee commented Aug 20, 2022

The link broken after schema implementation had moved to separate crates.
You could refer to

pub type Capabilities = Capabilities2;
instead.

The problem is aliased type name will be the origin type name after serialized.

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

No branches or pull requests

2 participants