getty
getty copied to clipboard
Fully unit test (de)serialize functions in blocks
For example, duplicate fields during deserialization should return error.DuplicateField.
This includes errors from attributes. For example, renaming a field and then not correctly having that field in the input data should return an UnknownVariant or MissingField or whatever.