[REQ][typescript-fetch] Ability to accept strings and/or disable JS Date Type for date-time formatted string fields
Created by: WilliamABradley
Is your feature request related to a problem? Please describe.
I am using Typescript fetch generated libs to interact with our API via react-admin, and that stringifies dates. It would be valuable to be able to disable the string > Date conversion in the API, or have it accept strings as valid, and pass it straight to the API.
Describe the solution you'd like
E.g. in the converter
'date_of_birth': value.date_of_birth === undefined ? undefined : (value.date_of_birth?.toISOString() ?? null),
Describe alternatives you've considered
Currently, I have to create a function that cleans the data before passing it to the generated library.