-
Notifications
You must be signed in to change notification settings - Fork 3
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
Node.js Stack Updates #1
Conversation
Print event to log by default to enable demo of updating to return. Check for an invalid context to facilitate test examples.
The system is expected to be able to receive either an HTTP request (populating context with the request and response) or a CloudEvent (populating context with the event), thus this test is invalid.
Thank you very much for pointing this out. I'll be sure to use LTS versions from now on. |
Sure did. I've now updated the default quotations setting of Prettier to singles. |
Definitely sounds like a good idea. That addition is now in nodeshift/faas-js-runtime#28 , and this PR now expects the logger to be available on the context. |
I see now that the handler can be invoked by either a standard HTTP request or via a CloudEvent which makes that precondition check incorrect. It has been removed. I would ideally like to have one precondition check provided by default in the template for illustrative purposes, but nothing useful comes to mind. |
Minor tweaks to the Node.js Appsody FaaS stack. Synopsis: