Fix issues with resolve() and improve test coverage#27
Closed
Quarz0 wants to merge 2 commits into
Closed
Conversation
AlexJSully
added a commit
that referenced
this pull request
Nov 13, 2025
This PR includes the following: - #27 by Marwan Tammam (@Quarz0) & integrated by Vicknesh Suresh (@VickSuresh) - #30 by Marwan Tammam (@Quarz0) & integrated by Alexander Sullivan (@AlexJSully) - Go version and packages update by Arthur Pang (@arthurpang) - Go decimal package update by Joel Phillip (@joelphillip1) - Update for handling extensions by Bharath Vemula (@bharath-v1) GitOrigin-RevId: 65cbe989a46576d9ba6ee97a8d3b98a066515888 Co-authored-by: Copybara <copybara@example.com>
Member
|
Hi @Quarz0, Thank you so much for your contribution and for taking the time to implement 'resolve' and improve test coverage! We truly appreciate your effort and the quality of your work. At this time, we’re not able to accept public pull requests directly (though we hope to support this soon—stay tuned!). However, we want to make sure great contributions like yours are recognized and included. We’ve backported your implementation (#33), and it will be included in the next version release of FHIRPath Go. You will be credited in the release notes for your work. Thanks again for helping make this project better! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolve() should not require the Reference.type field to be specified
This PR also adds proper handling for fragment and uri references, also skips empty strings from being passed to the resolver.
Also introduced a SimpleResolver to improve the test coverage - current tests only relied on HappyResolver which just returns without checking any references. If we remove the references from the current tests they'd still pass