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 support for typescript bit-int types #112

Closed
wants to merge 4 commits into from

Conversation

annie444
Copy link

No description provided.

@annie444
Copy link
Author

NOTE: I can't seem to find a logger or default stream setup for writing to stdin, so I just opted for println!().

@annie444
Copy link
Author

annie444 commented May 2, 2023

This would close

#24

annie444 added 2 commits May 8, 2023 07:16
println!(
r#"WARNING:
64bit types are not supported by the default JSON lib for JS/TS! This will lead to memory safety issues when passing data between JS/TS and Rust.
If your intended encpoint is for JSON parsing/serializing between JS/TS & Rust, please consider using a custom JSON parser that supports 64 bit static types.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo - encpoint should be endpoint I believe?

@eboody
Copy link

eboody commented Jul 21, 2023

I think testing is going to continue to fail until you remove the big-int-ish types from the list of blocklisted types:

https://github.com/1Password/typeshare/blob/main/core/src/rust_types.rs#L257

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

Successfully merging this pull request may close these issues.

3 participants