Hello !
Context
I started working with Orval 7.1.1. I have written a custom fetch function that was a variation around the provided example:
export const customFetch = async <T>(path: string, options: RequestInit): Promise<T> => {
// ...
return { status: response.status, data } as T
}
A recent PR also adds headers to the response.
Problem
The headers of my responses can be quite big and I would prefer not to return them.
It is possible to use the flag includeHttpResponseReturnType to stop getting headers in the response, but it also remove status, which I need.
Feature request
It would be nice to have 2 flags or have includeHttpResponseReturnType being able to be set to none, status, headers. That would allow to have none of them, or only headers, or only status returned.