feat: support field optionality in spec
d914289563
feat: support field optionality in spec
ee2ed9c0c3
fix: compile and clippy errors
7e59fdd5c6
style: run cargo fmt
deccf58880
feat: support 'optional' field in fieldspec (from PR)
feat: support field optionality in spec
ee2ed9c0c3
fix: compile and clippy errors
7e59fdd5c6
style: run cargo fmt
deccf58880
feat: support 'optional' field in fieldspec (from PR)
feat: support cli and new schema format
feat: support cli and new schema format
feat: support cli and new schema format
feat: support cli and new schema format
Manually squash-merged
21c2ae7a1a
feat: add cli support, accommodate new schema format
c4a9a2daac
fix: minor logic error introduced by adding field variants
07c02bdc31
chore: add generate task
4cf7c8fc25
chore: ensure rust-analyzer and other tools are installed by mise
103b9b5abe
refactor: parse string entirely in one place
c4a9a2daac
fix: minor logic error introduced by adding field variants
07c02bdc31
chore: add generate task
4cf7c8fc25
chore: ensure rust-analyzer and other tools are installed by mise
103b9b5abe
refactor: parse string entirely in one place
bf27bc111f
fix: also consider int 0 empty in enums
feat: support cli and new schema format
Created #10.
Codegen: figure out why types are generated twice
feat: support cli and new schema format
Double check that this catches StringOrInt::Int(0) as well
feat: support cli and new schema format
Should create an issue to find where the duplicates are coming from and if logic can be simplified somewhere
feat: support cli and new schema format
Should consider making this enum recursive and do the list/map parsing here instead of in as_rust_type
feat: support cli and new schema format
Should consider a default int-enum value when a variant is 0