-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable AView to process 1:n mappings by id and by name #231
Conversation
Enable AView to resolve 1:n mappings. #230
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your changes. I suggest to add and refine the function documentation. It would be great if you could add some test cases for the functions in resolve.ts that show the input and output of each function.
Co-Authored-By: Holger Stitz <holger.stitz@datavisyn.io>
Co-Authored-By: Holger Stitz <holger.stitz@datavisyn.io>
…_core into dgirardi/230_1toN_mappings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now!
Closes #230
Summary
The resolveSelection method of AView internally relies on the numeric _id value and only maps to the first targetIdType element. This value is not always known to external MappingProviders. So a mapping by name is also needed. Additionally, the AView is now also able to resolve 1:n mappings and not just 1:1 mappings.
This change causes a new minor version.