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

Add SpecialRustType::Bytes to RustType #231

Open
MOmarMiraj opened this issue Feb 18, 2025 · 0 comments
Open

Add SpecialRustType::Bytes to RustType #231

MOmarMiraj opened this issue Feb 18, 2025 · 0 comments

Comments

@MOmarMiraj
Copy link
Contributor

The current typeshare implementation doesn't support translation of Vec<u8> to a target language appropriate bytes type. For Go, typeshare would translate it to []int when it should be []byte etc. We should add a new SpecialRustType::Bytes to RustType to allow us to correctly translate to bytes in each target language.

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

No branches or pull requests

1 participant