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

Support Primitive Integer Types in Molecule #10

Closed
zhangsoledad opened this issue Mar 22, 2023 · 0 comments
Closed

Support Primitive Integer Types in Molecule #10

zhangsoledad opened this issue Mar 22, 2023 · 0 comments

Comments

@zhangsoledad
Copy link
Member

zhangsoledad commented Mar 22, 2023

Allow adding metadata about the primitive integer types so the language author can choose to support generating the corresponding interfaces.

For example, CKB uses a lot little-endian integers but they are just binaries in the molecule schema file. So every SDK to support CKB molecule structures must implement these integer fields manually.

nervosnetwork/molecule#57
nervosnetwork/molecule#62

@zhangsoledad zhangsoledad changed the title molecule primitive types Support Primitive Integer Types in Molecule Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant