-
Couldn't load subscription status.
- Fork 89
Isolation via null parent ClassLoader #1707
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
base: series/0.18
Are you sure you want to change the base?
Conversation
ab5e6f9 to
6ca4370
Compare
| val cp = resolveDependencies( | ||
| s"com.disneystreaming.smithy4s:smithy4s-codegen-cli_2.13:${BuildInfo.version}" :: | ||
| args.dependencies, | ||
| args.localJars, | ||
| args.repositories |
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.
Very clever 👍
There is one downside though:
This is not ideal as coursier's resolution will just pick the latest versions preventing users from using anything older than what codegen was compiled against.
But maybe this is good enough trade-off given its low complexity? 🤔
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.
imo this is actually good 😅 if you used older things you might be risking that the old version is not going to work with the codegen anyway, i.e. it might not be compliant with more recent requirements in the smithy model etc.
PR Checklist (not all items are relevant to all PRs)