-
Notifications
You must be signed in to change notification settings - Fork 29
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 short type aliases for schema #30
Comments
I don't think that is a good addition, honestly. That creates more ways of doing the same thing. We could end up with one code like:
I'm supposing that we add support for all types for each language (and common naming). I think there's two alternatives (rather than adding alias):
The |
Thanks for explanation!
But isn't this pretty meaningful limitation? Why arrays of strings not possible? Or is it temporal limitation? |
Currently, you can wrap strings into some
It's possible to do that wrapping "auto-magically", but currently it doesn't. That limitation is because how that is represented in-memory, which makes possible to use the native arrays from most languages (Go, Zig, C), which also take advantage of some compilers optimizations. Since
In that case However, if |
I see basic type names inspired by Go type system. But most of modern languages like Rust, zig, AS and WebAssembly WAT btw has a short type notation. So I propose add this aliases:
The text was updated successfully, but these errors were encountered: