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

Support request and response objects #24

Open
rodrigorm opened this issue May 14, 2020 · 4 comments
Open

Support request and response objects #24

rodrigorm opened this issue May 14, 2020 · 4 comments

Comments

@rodrigorm
Copy link

Following the docs on Vercel (https://vercel.com/docs/runtimes#official-runtimes/node-js) the Node runtimes first use the req/res handler style and support changes to AWS style with configuration, eg: NODEJS_AWS_HANDLER_NAME.

It would be nice if now-deno supports the same APIs style.

@grikomsn
Copy link

I'd like to work on this, but I need to learn how now-deno works internally. 🤔

@grikomsn
Copy link

Until I know how this builder works, here's a wrapper to create @vercel/node like functions: https://github.com/grikomsn/deno-create-now-fn

@lucacasonato
Copy link
Owner

@grikomsn If you want you can add this code to this repo and document it in the README :-)

@grikomsn
Copy link

I'm still new to Vercel builders. Any pointers on where can I add/modify parts of the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants