Maintain request context on serverside fetch requests
I have a endpoint in nitro that i need to call other internal endpoints. I need the event.context of the initial request to be maintained/passed to all subsequent internal requests. I have tried event.$fetch, but i get errors when running tests (vitest) saying $fetch is not a function. I tried fetchWithEvent, and it throws a URL parse error with internal (relative) endpoint urls, so i assume that it wants a full url which would suggest thats its not going to skip the http overhead and call the endpoint function directly?? I also tried the useEvent with asyncContext to avoid passing the event context directly, but nitro-test-utils does not support asyncContext. Am I missing something, is there a way to get this working / testing correctly?
