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

Each route a function #139

Open
leomp12 opened this issue Feb 8, 2022 · 0 comments
Open

Each route a function #139

leomp12 opened this issue Feb 8, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@leomp12
Copy link
Member

leomp12 commented Feb 8, 2022

Is your feature request related to a problem? Please describe.
Is harder to debug Cloud Functions with all routes ate the same Express server, also it may produce slower starts.

Describe the solution you'd like
Each app route should be exported as a different Cloud Function.

Describe alternatives you've considered
If using Cloud Run #138 may be useful to keep a server with all (or almost) routes, in this case just may be better to use https://www.fastify.io/ in place of current Express implementation.

Additional context
Also related to #136

@leomp12 leomp12 added the enhancement New feature or request label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants