-
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
Vonk-5143: FP validator gets an instance of ITerminologyService to pass to FhirEvaluationContext #188
Merged
marcovisserFurore
merged 2 commits into
develop
from
feature/VONK-5143-FhirPathValidator-should-get-an-instance-of-ITerminologyService-to-pass-to-FhirEvaluationContext
Sep 15, 2023
Merged
Vonk-5143: FP validator gets an instance of ITerminologyService to pass to FhirEvaluationContext #188
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
46 changes: 0 additions & 46 deletions
46
src/Firely.Fhir.Validation/Schema/FhirEvaluationContext.cs
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
test/Firely.Fhir.Validation.Compilation.Tests.R4/Properties/AssemblyInfo.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* Copyright (C) 2021, Firely ([email protected]) - All Rights Reserved | ||
* Proprietary and confidential. Unauthorized copying of this file, | ||
* via any medium is strictly prohibited. | ||
*/ | ||
|
||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
// Ensure that the test data source is refreshed with each execution. This requirement applies to the unit test class named ValidationManifestTests. | ||
[assembly: TestDataSourceDiscovery(TestDataSourceDiscoveryOption.DuringExecution)] |
10 changes: 10 additions & 0 deletions
10
test/Firely.Fhir.Validation.Compilation.Tests.R5/Properties/AssemblyInfo.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* Copyright (C) 2021, Firely ([email protected]) - All Rights Reserved | ||
* Proprietary and confidential. Unauthorized copying of this file, | ||
* via any medium is strictly prohibited. | ||
*/ | ||
|
||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
// Ensure that the test data source is refreshed with each execution. This requirement applies to the unit test class named ValidationManifestTests. | ||
[assembly: TestDataSourceDiscovery(TestDataSourceDiscoveryOption.DuringExecution)] |
10 changes: 10 additions & 0 deletions
10
test/Firely.Fhir.Validation.Compilation.Tests.STU3/Properties/AssemblyInfo.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* Copyright (C) 2021, Firely ([email protected]) - All Rights Reserved | ||
* Proprietary and confidential. Unauthorized copying of this file, | ||
* via any medium is strictly prohibited. | ||
*/ | ||
|
||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
// Ensure that the test data source is refreshed with each execution. This requirement applies to the unit test class named ValidationManifestTests. | ||
[assembly: TestDataSourceDiscovery(TestDataSourceDiscoveryOption.DuringExecution)] |
2 changes: 1 addition & 1 deletion
2
test/Firely.Fhir.Validation.Compilation.Tests.Shared/FhirTestCases
This file contains 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
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.
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.
Should we make
TerminologyService
an ICodeValidationTerminologyService maybe? We do not need more at this point - but we might later of course. What do you think?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.
That would be better, but that is a breaking change in the SDK. So that's why I came up with this solution. Or do you have a cunning plan to avoid the breaking change? @ewoutkramer
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.
Nope. I know that if you assign a TermSErvice to one of its subinterfaces, it will work, but indeed, for code reading the property this is a breaking change. It is in practice a breaking change, at runtime, since we're throwing in all not implemented functions, but yes, it does not formally break ;-)
So we should reconsider this for the next major version....
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.
Ok, then I will create a SDK issue for this and we leave this PR as it is.
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.
See issue FirelyTeam/firely-net-sdk#2590