-
Notifications
You must be signed in to change notification settings - Fork 380
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: add generator to functions config on deploy #5483
feat: add generator to functions config on deploy #5483
Conversation
📊 Benchmark resultsComparing with f6f9cf9 Package size: 263 MB⬇️ 0.00% decrease vs. f6f9cf9
Legend
|
})) | ||
const fnConfig = functionZips | ||
.filter((func) => Boolean(func.displayName)) | ||
.reduce((funcs, curr) => ({ ...funcs, [curr.name]: { display_name: curr.displayName } }), {}) | ||
.filter((func) => Boolean(func.displayName || func.generator)) |
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.
This is starting to get a bit gnarly. I think we should consider abstracting this into a new function that holds the list of properties we accept and does the normalisation.
Totally fine to do in a future PR, though.
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.
🎉 Thanks for submitting a pull request! 🎉
Summary
Work for https://github.com/netlify/pod-compute/issues/350
Making sure that the generator field is passed along to the functions_config field we send to bitballoon.
For us to review and ship your PR efficiently, please perform the following steps:
passes our tests.
A picture of a cute animal (not mandatory, but encouraged)
