Grant Timmerman
Grant Timmerman
Change to use GitHub Secrets (along with GitHub Actions)
Hi @inlined, thanks for the issue. Can you please provide more details, including full repro steps in this issue (not linked issues)? For example, the sample above uses Express and...
Hi @devlucem, Thanks for your patience. Here's the full repro: --- `index.js` ```js exports.helloWorld = (req, res) => { let message = req.query.message || req.body.message || 'Hello World!'; res.status(200).send(message); };...
Thanks. What would you like the dev experience to be ideally? Expected behavior? Can you write that out? I'm hearing you'd like to still invoke the function, but the server...
To solve this, I think we'd need to support a lifecycle hook to handle `BAD_REQUEST`s to the function. I wrote my thoughts here: https://github.com/GoogleCloudPlatform/functions-framework/issues/56 Similar: https://stackoverflow.com/a/31576777
We'll need to look into how to configure a **reverse proxy** to host multiple functions on the sample port. This would probably be a wrapper library on top of the...
Related, but not exactly multiple cloud functions is Express Routing with Cloud Functions: https://medium.com/google-cloud/express-routing-with-google-cloud-functions-36fb55885c68 > Similar to the [@dupski's suggestion](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/issues/23#issuecomment-510704908), Express can be used for sub-routes. Basic code: ```js const...
Thanks for the comment @algoflows. There are a couple options for multiple cloud functions, depending on the use-case, discussed above: - **URL Routing**: Route requests based on the URL path...
Hi @ajjindal, I'm not able to reproduce the issue. **Can you provide a clear, minimal setup for reproducing this issue?** For example, couldn't you just wrap your function in a...
OK, thanks for some more details. Would it be okay to catch uncaught exceptions with the Node process and handle them with Sentry? ```js process.on('uncaughtException', function (err) { Sentry.captureException(err); Sentry.flush(2000);...