Skip to content
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

Model Dependencies #166

Open
onwardmk opened this issue Aug 21, 2024 · 1 comment
Open

Model Dependencies #166

onwardmk opened this issue Aug 21, 2024 · 1 comment

Comments

@onwardmk
Copy link

We are exclusively using FHIR version R4, and I would like a way to not require the DSTU2 and STU3 model packages, as they take up about 40 MiB. Is it possible to split up the client and models into separate gems, so that they can be installed separately, or will this break code in the client? I'm hoping there's a way to do this without forking the repo.

@onwardmk
Copy link
Author

I'd like to suggest excluding the examples directory in each of the model gems because I think these are only for documentation and they take up a significant amount of space.

Could we add this to the .gemspec for each of them:

spec.files = Dir.glob("**/*") - Dir.glob("**/examples/**/*")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant