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 #49

Closed
OGKevin opened this issue Nov 17, 2017 · 1 comment
Closed

Return base class from createFromJsonString #49

OGKevin opened this issue Nov 17, 2017 · 1 comment
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:

Reference

@OGKevin OGKevin added this to the 0.12.4 milestone Nov 17, 2017
@OGKevin OGKevin self-assigned this Nov 17, 2017
@OGKevin
Copy link
Contributor Author

OGKevin commented Nov 17, 2017

This is not the case in Python SDK 🙅‍♂️

@OGKevin OGKevin closed this as completed Nov 17, 2017
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