-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
There's a PR for typify with a fix plus an issue highlighting a work-around when converting W3C's mnx-schema.json file.
Both might be of interest to you and those who use your crate:
- Private tuple fields should be
puboxidecomputer/typify#913 - Obtain name from SchemaObject; otherwise, keep existing default
subtype_{idx}oxidecomputer/typify#912
Even if that PR is inadequate for them to merge, it works specifically for the MNX schema.
Likewise, if the issue linked above doesn't get resolved soon, it's an easy 1-liner:
sed -i -E 's%^(pub struct) (OttavaAmount(|OrZero)|TimeSignatureUnit).i64.%\1 \2(pub i64)%' mnx.rs(That's suitable for Linux. If on BSD or macos, remember that -i takes an argument such as _ORIG for renaming original file.)
Metadata
Metadata
Assignees
Labels
No labels