typeshare
typeshare copied to clipboard
Support data-driven defaults for type mapping
Currently, bindings for date related types are exported as String, in the absence of user-specified configuration. We should add sensible defaults for additional type mappings to improve safe interoperability.
The current system for default mapping is to extend the SpecialRustType enum, which is effort intensive, and requires implementation on all languages. A better system would be data-driven mappings, similar to the config, but embedded in the library.
Unassigning myself since I'm primarily working on the DateTime mapping as hinted at in the original comment.