If a model annotation specifies some parent class, but a subclass is given to the model, when roundtripping the model to and from json, the data is cast back into the parent type since that's what's on the model. need an additional annotation in the dumped json to indicate the dtype class to cast back into. marking as an xfail in the tests for now
If a model annotation specifies some parent class, but a subclass is given to the model, when roundtripping the model to and from json, the data is cast back into the parent type since that's what's on the model. need an additional annotation in the dumped json to indicate the dtype class to cast back into. marking as an xfail in the tests for now
revealed in: https://github.com/p2p-ld/numpydantic/pull/31
want to merge that before trying to fix this.