Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return base class from createFromJsonString #73

Closed
OGKevin opened this issue Nov 17, 2017 · 0 comments
Closed

Return base class from createFromJsonString #73

OGKevin opened this issue Nov 17, 2017 · 0 comments
Assignees
Milestone

Comments

@OGKevin
Copy link
Contributor

OGKevin commented Nov 17, 2017

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

  • Logs No logs

Extra info:

@OGKevin OGKevin added this to the 0.12.4 milestone Nov 17, 2017
@OGKevin OGKevin self-assigned this Nov 17, 2017
@OGKevin OGKevin changed the title Return static from createFromJsonString Return base class from createFromJsonString Nov 17, 2017
OGKevin added a commit that referenced this issue Nov 17, 2017
This ensure that the base class is returned instead of BunqModel.
OGKevin added a commit that referenced this issue Nov 21, 2017
dnl-blkv added a commit that referenced this issue Nov 21, 2017
OGKevin added a commit to bunq/sdk_python that referenced this issue Apr 8, 2018
OGKevin added a commit to bunq/sdk_python that referenced this issue Apr 8, 2018
OGKevin added a commit to bunq/sdk_python that referenced this issue Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant