Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

What is "RequestContext" and how it should be used when using NextJs 13? #230

Open
hywook4 opened this issue Jun 26, 2023 · 2 comments
Open

Comments

@hywook4
Copy link

hywook4 commented Jun 26, 2023

Hi. I'm using next-connect with NextJs 13 using app directory.

I've read the example and came up with the question what "RequestContext" is and how it can be used.

Thank you.

@ghost
Copy link

ghost commented Jul 1, 2023

Anyone got this working with "app" , anyone at ALL , please write .. it be so useful! <3

@fredcido
Copy link

I've been also looking for a way to pass data through handlers using the context. Is that possible?
Perhaps we can pass some generics from middleware that enriches the context and allow us to pass data?

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

No branches or pull requests

2 participants