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

Context not showing and invalid types #170

Open
cbs-l opened this issue Apr 11, 2024 · 0 comments
Open

Context not showing and invalid types #170

cbs-l opened this issue Apr 11, 2024 · 0 comments

Comments

@cbs-l
Copy link

cbs-l commented Apr 11, 2024

When trying to use the documentation example for passing in a context I am seeing that a type error is being thrown:

S2554: Expected 0 arguments, but got 1

From what I can see the method call is:

export const createAPIGatewayProxyEventV2RequestHandler = <
  Event extends APIGatewayProxyEventV2 = APIGatewayProxyEventV2,
>() => {

So looks as if it does not allow a context value? This also means that when trying to use the context value in a resolver that it is not there.

image

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

1 participant