Closed blampe closed 9 years ago
This will be checked during serialization/deserialization.
This makes interacting with the object awkward, though, especially when re-hydrating it from JSON.
Fair. Although we can't drop validation during serialization because that will just fail with cryptic messages when struct.pack
fails. If we're okay with the added cost, I see no problem with doing it in the constructor too.
Fixed by 0.4.0
I don't think we're recursing into lists/maps to reconstruct the native type: