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

[BREAKING] ensure itemAtPath accesses unique value only #8

Merged
merged 2 commits into from
Aug 6, 2021

Conversation

timacdonald
Copy link
Contributor

As per the openEHR docs

The item at a path (relative to this item); only valid for unique paths, i.e. paths that resolve to a single item.

itemAtPath will now throw an exception if it gets more than one result.

@jessarcher jessarcher merged commit fd7c457 into main Aug 6, 2021
@jessarcher jessarcher deleted the find-exception branch August 6, 2021 03:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants