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

Allow repeated calls to SimpleObjectIdResolver.bindItem() for same mapping #180

Closed
cowtowncoder opened this issue Nov 12, 2020 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: work-around for FasterXML/jackson-dataformats-text#231)

Looks like there are cases where it would be useful to allow multiple calls to adding same mapping for "object-id -> instance" mapping. While ideally calls should not be repeated, it seems that guaranteeing this gets more complicated with native object ids; and in case of YAML with need to location-shift Object Id as well.
Since checking for duplicates is already made this should be easy enough to do.

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