average-vr-56795
12/11/2018, 7:39 PMaloof-angle-91616
12/11/2018, 7:40 PMaverage-vr-56795
12/11/2018, 7:42 PMaloof-angle-91616
12/11/2018, 7:43 PMaverage-vr-56795
12/11/2018, 7:44 PMtuple<HydratedTarget>
aloof-angle-91616
12/11/2018, 7:44 PMCollection.of()
to type-check its contents somehow, let me look at that for a secsatisfied_by
, and allow `TypeConstraint`s to do arbitrary checking things there, with the knowledge that it runs synchronously. i don't think this is a bad idea whatsoeverobj_type
in satisfied_by_type
(for example) to also allow an instance of some other specific class which represents a collection (also not a bad idea, less scary and probably cleaner)__eq__()
method and have a canary so satisfied_by()
can't be overridden (which gives us the ability to do (1) later, if we want)@classproperty
to datatypes which returns a tuple of types for the datatype fields, or instead of a type, a field may instead be associated with an object that represents a parameterized collectionTypeConstraint
handle collections separately, i think