-
Notifications
You must be signed in to change notification settings - Fork 344
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
Pass context to fetch in json-schema loader (used in new-openapi handler) #4293
Comments
14 tasks
Started draft PR, which functionally solves the problem, however this would require moving from the native fetch type to something more akin to the one in the openapi handler so a different approach may be preferable |
Closed
|
Closed
This was referenced Apr 30, 2024
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
In the previous open-api handler we had access to
context
in our fetch function, which gave us access to a few things, for our usecase this was primarilycontext.request.log
which we used for logging.Describe the solution you'd like
Passing
context
tofetch
when its invokedDescribe alternatives you've considered
n/a
Additional context
The old openapi handler approach
The new fetch call
The text was updated successfully, but these errors were encountered: