News for hackers. Stuff that matters.
Re:Typical: Data interchange with algebraic data types by magicalhippo on Monday May 22, 2023 @03:32AM (#36028448)
Ah, I was thinking in terms of the actual messages, not compilation. So it should read "Fields are required for compilation by default"?

This leads me to versioning. Imagine you have some old code which won't be upgraded, say an embedded system. Either you don't promote to "required", or you do versioning.

Given the lack of any mention of versioning, I take it that's to be deal with externally? Ie as a separate schema, and detected before handing the rest of the data to the generated code?

edit: Really cool project btw!

Re:Typical: Data interchange with algebraic data types by stepchowfun on Monday May 22, 2023 @04:18AM (#36028714)
If I understand you correctly, I believe your understanding is correct.