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

Pass response object to request ID generator #63

Open
sweepies opened this issue May 5, 2019 · 1 comment
Open

Pass response object to request ID generator #63

sweepies opened this issue May 5, 2019 · 1 comment

Comments

@sweepies
Copy link

sweepies commented May 5, 2019

With TypeScript and Koa, I have no good way to add a property to the request object. This means I cannot use the same ID I'm sending to the user for the generator.

@mcollina
Copy link
Member

I don’t really understand the issue. In typescript, you can extend the types and add your own properties if you need to.

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

2 participants