From 66afc8921e4f5d3a41e407ab6d95ce7e4ec5383a Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Sun, 25 Aug 2019 14:35:44 +0200 Subject: Add `isInconsistent` property hook to all constructed types (#170) Added `isInconsistent` property to all constructed types. This property conceptually replaces `verifySizeSpec` method to serve a more general purpose e.g. ensuring all required fields are in a good shape. By default this check invokes subtype constraints verification and is run by codecs on value de/serialisation. --- CHANGES.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGES.rst') diff --git a/CHANGES.rst b/CHANGES.rst index 0d9c545..0dcb2f2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,7 +2,11 @@ Revision 0.4.7, released XX-09-2019 ----------------------------------- -No changes yet +- Added `isInconsistent` property to all constructed types. This property + conceptually replaces `verifySizeSpec` method to serve a more general + purpose e.g. ensuring all required fields are in a good shape. By default + this check invokes subtype constraints verification and is run by codecs + on value de/serialisation. Revision 0.4.6, released 31-07-2019 ----------------------------------- -- cgit v1.2.1