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

Add new method in Deserializers.Base to support ReferenceType #931

Closed
cowtowncoder opened this issue Sep 13, 2015 · 1 comment
Closed

Add new method in Deserializers.Base to support ReferenceType #931

cowtowncoder opened this issue Sep 13, 2015 · 1 comment

Comments

@cowtowncoder
Copy link
Member

(and ditto for Serializers.Base)

Since 2.6 added new concept of referential types; and since referential types are really quite a distinct value type, it makes sense to improve registration of serializers, deserializers, for the same.
But since Serializers and Deserializers are interfaces, it is not easy to add new methods without breaking backwards compatibility. But there are Base classes, which could relatively easily be augmented to have new methods called for instances of ReferenceType. This would also require addition of another "bean" access method.

It is not 100% clear this is the best approach to take; if not, can close the issue. But I want to record this to keep the idea around until it can be evaluated.

@cowtowncoder cowtowncoder changed the title (2.7) Add new method in Deserializers.Base to support ReferenceType (2.8) Add new method in Deserializers.Base to support ReferenceType Feb 12, 2016
@cowtowncoder cowtowncoder changed the title (2.8) Add new method in Deserializers.Base to support ReferenceType Add new method in Deserializers.Base to support ReferenceType May 4, 2016
@cowtowncoder
Copy link
Member Author

Oddly enough I must have added this in 2.7 for some reason. Oh well.

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

No branches or pull requests

1 participant