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

Support serializing multi level/label polymorphic object #1340

Open
eneim opened this issue May 7, 2021 · 1 comment · May be fixed by #1728
Open

Support serializing multi level/label polymorphic object #1340

eneim opened this issue May 7, 2021 · 1 comment · May be fixed by #1728

Comments

@eneim
Copy link

eneim commented May 7, 2021

Currently, the Polymorphic adapter supports deserializing multi-level inheritance with different label well, but it could not serialize them correctly. I have a test to reproduce the issue: eneim@d491d18

By multi level/label polymorphic object, I mean a class that can be extended by multiple class that shares a label A, and some of those subclasses can be further extended and share a label B != A and they form a tree. Please take a look at the github branch for an example.

I would like to ask if it is possible to support such case?

@SebSegond
Copy link

Hello,

Any news on this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants