FirelyTeam / Firely.Fhir.Packages

Other
2 stars 1 forks source link

PackageContext.Install(PackageDependency) with version 'null' should return the latest version #75

Closed mmsmits closed 8 months ago

mmsmits commented 1 year ago

This method used to work with "latest", but now doesn't: PackageContext.Install(PackageDependency) When fed with PackageDependency(name: hl7.fhir.r4.core, version: null) It now returns Package 'hl7.fhir.r4.core (latest)' was not found.

A work-around exists, to manually change null to "Latest". But if you look at type (PackageDependency), null must be interpreted as latest by the library. So there might be other regressions elsewhere.