generated from apollographql/typescript-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Right now, serverless gateway applications are stuck with "startup but fail on every request" in the case that the gateway fails to load its schema, so the process doesn't actually die. This could be improved by installing a startupDidFail
plugin by default or at least documenting it as a recommendation in the README.
Update: it's been brought to my attention that Lambda can in fact handle async initialization and that it might be able to move to a standard await apolloServer.start()
mode of operation vs the less optimal startInBackgroundHandlingStartupErrorsByLoggingAndFailingAllRequests()
method.
Metadata
Metadata
Assignees
Labels
No labels