Pooya Parsa

Results 2273 comments of Pooya Parsa

Thanks for your feedback @MickL. This decision for Nuxt should happen within a Nuxt-related discussion. We might consider disabling it by default for Nitro core but probably in 1-2 more...

eslint plugin is so cool for an in-between solution love it!

So to clarify, this discussion is not to "remove" the auto imports feature of Nitro at all but to depend less on them. - For default config in pure-nitro projects...

This proposal is to make auto-imports an opt-in feature for pure nitro (v3+) projects. Locking the thread for now, thanks for all constructive feedbacks it certainly helped confirming the idea...

Returning a new `Response` should be supported in handlers. We should investigate why [`body`](https://github.com/unjs/nitro/blob/v2/src/presets/azure/runtime/azure-swa.ts#L39) (which can be a stream) is not handled, it is a bug.

thanks for investigation @itpropro. Does runtime v4 support accept `ReadableStream` as valid `body`?

If you can please feel free to open a PR to upgrade SWA in v3 branch.

I love the idea to allow extending handler meta with route rules for multi-target support 👍🏼 Only note that route rules shall not accept functions. They are plain objects. A...

Types should do it! (Also we should warn anyway for any unsupported target being redirected to the default/main target).