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
I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
May be there is some way to accept fastify instance to NextRequest, then got it from getServerSideProps context, save it on page params and then use fastify.inject instead of fetch or axios?
I suppose it should be faster than ku_universal, axois and other libraries calls, but do not exactly understand how to pass fastify instance in render function.
I have an idea to extends RawRequest interface like
I found a way to forward fastify instance with Incoming Message but got some undefined behavior when trying to get fastify instance in next getter method.
Prerequisites
🚀 Feature Proposal
May be there is some way to accept fastify instance to NextRequest, then got it from getServerSideProps context, save it on page params and then use fastify.inject instead of fetch or axios?
I suppose it should be faster than ku_universal, axois and other libraries calls, but do not exactly understand how to pass fastify instance in render function.
I have an idea to extends RawRequest interface like
then give instance in gccp objects requests like :
and finally got ot from props
But unfortunatly there is no RawRequest interface in Fastify types.
The text was updated successfully, but these errors were encountered: