Closed vkottler closed 1 year ago
This is what I'm thinking: allow the schema to accept an integer as a valid list entry for a field.
At runtime, JIT translate it into a "real" field that gets some RESERVEDX
name (configurable?), gets converted to an array etc.
Added this support on: https://github.com/vkottler/ifgen/pull/41 to the struct generator itself.
Now we need to actually handle populating this field.
This is now fully functional!
Shouldn't be too difficult. Example for why we need it: