-
-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the feature has not already been requested
π Feature Proposal
The getUpstream callback can be sync or async.
Motivation
We have a (probably unusual) need for getUpstream to support async. We have a sophisticated tenancy strategy that requires us to reach out to dbs/caches/etc to resolve the correct upstream.
Example
reply.from(/some/path', {
getUpstream: async () => { return await someAsyncFunc() }
}
Metadata
Metadata
Assignees
Labels
No labels