Closed jameskeane closed 4 years ago
Looks good to me.
In theory it should be possible to raise an error if a conflicting type is used in a base class (e.g str
& int
) since this will create a schema that won't validate against anything. But this is good enough for now.
Thanks!
This is useful if, for example, an inherited object specifies a string literal in place of the more generic 'str'.
fixes #108