Tweak generated code for record validation.
Tweak generated code for record validation.

We can save a variable by using the function's calling context.

cdapio/ui-schema-parser,cdapio/ui-schema-parser,mtth/avsc,cdapio/ui-schema-parser,mtth/avsc,cdapio/ui-schema-parser,mtth/avsc,mtth/avsc,mtth/avsc,cdapio/ui-schema-parser