FHIR Chat · ZipSource necessity · dotnet

Stream: dotnet

Topic: ZipSource necessity


view this post on Zulip Jeff Chen (Feb 15 2020 at 09:04):

I saw test cases creating "ZipSource" in repository of fhir-net-api.
Should I create "ZipSource" each time while validating resource ?
Or I create "DirectorySource" ?
Thanks

view this post on Zulip Brian Postlethwaite (Feb 15 2020 at 11:42):

It depends on how you plan to manage your structure definitions.

view this post on Zulip Brian Postlethwaite (Feb 15 2020 at 11:44):

The zipsource is the easiest for just using the core spec.
I often use a multi source resolver with several. One from the zip, one from a folder, and another from my database.
There is a caching one too.
One of my colleagues even wrote one that resolves from assembly manifest files.

view this post on Zulip Jeff Chen (Feb 17 2020 at 01:29):

Thank you @Brian Postlethwaite


Last updated: Apr 12 2022 at 19:14 UTC