You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is common to have a set of service providers shared between functions on the backend (for example, Sentry). Currently, in order to use the same provider in multiple functions, users are required to initialize the provider at the start of each call, e.g.
It would be nice if there was a way to consolidate this logic even more so functions can either move this logic to a middleware or have a pre-initialized service provider injected into the function like env variables are currently injected.
The text was updated successfully, but these errors were encountered:
Related to #40. Based off a Discord thread.
It is common to have a set of service providers shared between functions on the backend (for example, Sentry). Currently, in order to use the same provider in multiple functions, users are required to initialize the provider at the start of each call, e.g.
It would be nice if there was a way to consolidate this logic even more so functions can either move this logic to a middleware or have a pre-initialized service provider injected into the function like env variables are currently injected.
The text was updated successfully, but these errors were encountered: