Serverless-express: [Bug]: `ConfigureParams` type is out-of-date.

Created on 5 Feb 2021  路  4Comments  路  Source: vendia/serverless-express

I was attempting to add a custom eventSource and was getting typehint failures as the eventSource isn't defined in the ConfigureParams type.

https://github.com/vendia/serverless-express/blob/mainline/src/configure.d.ts

bug help wanted

All 4 comments

Thanks for the report. Could you send a PR? 馃檹

I won't have time to.

I have the same issue.

We want to use appsync, cognito using eventSource.
I'm always rooting for you~

Hi @psyrenpark could you clarify? Do you want to use Serverless Express for cognito hooks and AppSync resolvers? If you send a PR with what you want to do, (including a Serverless Framework or SAM template with Cognito and AppSync) I can easily add support for the event sources

Was this page helpful?
0 / 5 - 0 ratings