-
Notifications
You must be signed in to change notification settings - Fork 344
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
Add NpmPackageResolver [STU3] #1879
Add NpmPackageResolver [STU3] #1879
Conversation
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.
The project Firely.Fhir.Packages
has been added to the SDK and included in the Azure Pipelines. Also it can now be compiled against netstandard1.6
.
The following steps that we still need to make are:
- reduce the number of public methods/classes
- polish the code to make it publishable.
…ure/npm-package-resolver # Conflicts: # common
…functionalities_stu3 # Conflicts: # common
…ure/npm-package-resolver # Conflicts: # common
…functionalities_stu3 # Conflicts: # common
…eature/include_package_functionalities_stu3 # Conflicts: # common
…eature/include_package_functionalities_stu3
…he CorePackageSource
…functionalities_stu3
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.
Some very small things...
Hl7.Fhir.sln
Outdated
@@ -1,5 +1,6 @@ | |||
Microsoft Visual Studio Solution File, Format Version 12.00 | |||
# Visual Studio Version 17 | |||
VisualStudioVersion = 17.0.31710.8 |
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.
I think it is harmless to have 2 similar properties, but I'd rather have 1.
@@ -789,7 +789,9 @@ public async T.Task CheckSdf8Expression() | |||
public void TestXsdValidationExplicitSet() | |||
{ | |||
var mySettings = _validator.Settings.Clone(); | |||
mySettings.XsdSchemaCollection = new SchemaCollection(ZipSource.CreateValidationSource()); | |||
var source = new FhirPackageResolver(ModelInfo.ModelInspector, "hl7.fhir.r3.corexml-3.0.2.tgz"); |
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.
Perhaps adding this hl7.fhir.r3.corexml-3.0.2.tgz
to a variable, which can be used later in other unit tests?
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.
I see that there is already a private constant CorePackageSource.PACKAGENAME
. Perhaps make that public and use it here?
|
||
private IArtifactSource createXmlSource() | ||
{ | ||
return new FhirPackageResolver(ModelInfo.ModelInspector, "hl7.fhir.r3.corexml-3.0.2.tgz"); |
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.
Use the const CorePackageSource.PACKAGENAME
as well?
No description provided.