bunq / sdk_python

Python SDK for bunq API
MIT License
106 stars 25 forks source link

Return base class from createFromJsonString #49

Closed OGKevin closed 6 years ago

OGKevin commented 6 years ago

Steps to reproduce:

  1. Create a class from JSON string by using the method createFromJsonString

What should happen:

  1. The return value is casted to the subclass.

What happens:

  1. The return value is casted to BunqModel.

Logs

Extra info:

Reference

OGKevin commented 6 years ago

This is not the case in Python SDK :no_good_man: