Open andreaslarssen opened 5 years ago
I am facing exact same kind of issue, i am serializing child class and on de-serialization I am receiving object of base class which doesn't has additional properties defined in child class. Seems to me an issue, kindly provide a fix or a workaround.
Thought I'd look into this. Are there any contrib docs I could look at?
With:
...and then deserializing UnauthorizedResponse:
...i get an instance of ClientErrorResponse, not the UnauthorizedResponse I hoped for, but when defining schemas this way:
...and then:
...it gives me an instance of UnauthorizedResponse.
Is this cool? Is it something I'm missing?