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 the logic to load user's function to loader.ts #136

Merged
merged 4 commits into from
May 12, 2020
Merged

Conversation

hdp617
Copy link
Contributor

@hdp617 hdp617 commented May 7, 2020

This separates the logic to load user's function and one to start the webserver. Moves the function signature type definition to function.ts. Also, adds more testcases for the function loading logic.

See also: #134

This separates the logic to load user's function and one to start the webserver. Moves the function signature type definition to function.ts. Also, adds more testcases for the function loading logic.

See also: #134
@hdp617 hdp617 requested a review from grant May 7, 2020 06:07
test/data/with_main/foo.js Outdated Show resolved Hide resolved
Copy link
Contributor

@grant grant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ready to merge? I added some other nit comments, but they are optional. I approved the PR.

test/loader.ts Outdated Show resolved Hide resolved
@hdp617 hdp617 merged commit 41e02f9 into GoogleCloudPlatform:master May 12, 2020
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

3 participants