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

(2.7) Consider adding method setDefaultUseWrapper in XmlMapper #156

Closed
cowtowncoder opened this issue Jul 21, 2015 · 1 comment
Closed
Milestone

Comments

@cowtowncoder
Copy link
Member

Currently the only way to configure default setting of "use wrapper element for Lists" is via XmlModule.
This is because actual setting needs to be propagated to AnnotationIntrospector implementation.

But since introspector may be changed after the fact (and, if we choose to, can actually make setting in introspector mutable), it may be possible to expose this via XmlMapper as well; even if not quite as efficiently. This may be more usable for users, however, especially if mapper is injected as a dependency, and thereby adding such option makes sense, it is not necessarily fully redundant.

@cowtowncoder cowtowncoder changed the title Consider adding method setDefaultUseWrapper in XmlMapper (2.7) Consider adding method setDefaultUseWrapper in XmlMapper Aug 10, 2015
@cowtowncoder cowtowncoder added this to the 2, milestone Oct 2, 2015
@cowtowncoder
Copy link
Member Author

Added setDefaultUseWrapper in XmlMapper for 2.7.

@cowtowncoder cowtowncoder modified the milestones: 2,, 2.7.0 Oct 2, 2015
cowtowncoder added a commit that referenced this issue Oct 2, 2015
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