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

refactor!: move function wrapping earlier #335

Merged
merged 1 commit into from Sep 24, 2021

Conversation

matthewrobertson
Copy link
Member

@matthewrobertson matthewrobertson commented Sep 24, 2021

This commit extracts the logic for wrapping user functions into its
own module and adds unit tests. It also moves the code path that
wraps the user function earlier in the initialization logic. This
removes user function wrapping from the critical request path.

src/wrappers.ts Outdated Show resolved Hide resolved
This commit extracts the logic for wrapping user functions into its
own module and adds unit tests. It also refactors the code path that
wraps the user function earlier in the initialization logic. This
removes registration from the critical request path.
@matthewrobertson matthewrobertson merged commit b70b2d8 into master Sep 24, 2021
@release-please release-please bot mentioned this pull request Sep 25, 2021
@matthewrobertson matthewrobertson deleted the function-registration branch December 7, 2021 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants