3 ms·
Totally agree on the codegen bits. > To mitigate this problem just stop generating code and doing automatic deserialisation. Sadly, I have observed that’s a ve
by daenney 10y ago
Totally agree on the codegen bits.
> To mitigate this problem just stop generating code and doing automatic deserialisation. Sadly, I have observed that’s a very hard habit to break.
That conclusion really irks me. In Java, if you're using AutoMatter for example, you're one annotation away from discarding unknown fields and many other serialisation frameworks offer the same ability. It's not a default (which imho it should be) but it's trivial to fix.