You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I want to develop a CKB tool which uses the CKB core molecule structures and also has its own structures. If my tool structure uses any structure defined in CKB, I should copy CKB molecule scheme and generate the interfaces together. It means a lot of work because of #57. And in the language like Rust, all the generated CKB structures are not the same module, this hurts the interoperation between the different tools.
Suggested Solution
Support module reference in Molecule, so the code generator can skip some molecule schema file and import them via language package system. For the example above, it means we can use ckb_types instead of generating the CKB types again.
The text was updated successfully, but these errors were encountered:
Describe the Problem
Say I want to develop a CKB tool which uses the CKB core molecule structures and also has its own structures. If my tool structure uses any structure defined in CKB, I should copy CKB molecule scheme and generate the interfaces together. It means a lot of work because of #57. And in the language like Rust, all the generated CKB structures are not the same module, this hurts the interoperation between the different tools.
Suggested Solution
Support module reference in Molecule, so the code generator can skip some molecule schema file and import them via language package system. For the example above, it means we can use ckb_types instead of generating the CKB types again.
The text was updated successfully, but these errors were encountered: