adl
adl copied to clipboard
ADL annotations shouldn't allow superfluous fields
ADL annotations are "parsed" according to the standard ADL model, where unexpected fields are ignored. Whilst this is a reasonable approach for generalized deserialization, it can lead to errors where an incorrect field name fails to override a default value, despite codegen success.
Plan: when deserializing annotations, unexpected field names are considered errors.