-
Notifications
You must be signed in to change notification settings - Fork 235
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
claudia update fails with latest fastify version #28
Comments
any fix for this? |
I don't remember what was the problem exactly. but this is correct entry point for latest version:
|
@veedeo your guidance has been mighty helpful! Thank you 👍 |
I recommend calling awsServerlessExpress.proxy inside app.ready callback, as in my case, proxy was calling fastify routes prematurely |
Can you share the code? |
in my api, I was creating a database connection during fastify initialization which was delaying fastify readiness before awsServerlessExpress.proxy call and fastify's route hanler was not being called. The following change will ensure fastify is ready
|
https://github.com/adrai/fastify/blob/master/docs/Serverless.md |
The text was updated successfully, but these errors were encountered: