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

feat(@jsii/spec): add loadAssemblyFromBuffer function #3634

Merged
merged 13 commits into from
Jul 6, 2022
Merged

Conversation

kaizencc
Copy link
Contributor

Usage is demonstrated here: cdklabs/construct-hub#920

Two implementations were considered to fit the use case in construct hub, loadAssemblyFromBuffer and loadAssemblyFromTarball. I went with loading from a buffer because it allows us to utilize prior art in construct hub for parsing tarballs, does not need an added dependency on tar, and causes minimal impact when refactoring the ingestion lambda to use this function.

Also includes a small refactoring of the test suite.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

RomainMuller
RomainMuller previously approved these changes Jul 6, 2022
@mergify mergify bot dismissed RomainMuller’s stale review July 6, 2022 10:02

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Jul 6, 2022

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Jul 6, 2022
@mergify
Copy link
Contributor

mergify bot commented Jul 6, 2022

Merging (with squash)...

@mergify mergify bot merged commit 4f3a0d1 into main Jul 6, 2022
@mergify mergify bot deleted the conroy/tarball branch July 6, 2022 13:21
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Jul 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants