add support multipleContent types #3355
piworkacc
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone Previously, there were plans to add support multipleContent types.

I expected it to be not only for the request but also for the response.
Right now, there is still the behavior where I always expect res.json() in the response.
https://github.com/kubb-labs/plugins/blob/44b8bb2588ac9940441405c31c6316bfb4333110/packages/plugin-client/templates/clients/fetch.ts#L89
And our project now has not the best workaround, but a working one...
I admit that I don't understand everything about the client.ts fetch.ts and @kubb/client etc. But I just want to discuss how best to implement this, and in general, are there any plans for this and what is the best way to proceed?
Beta Was this translation helpful? Give feedback.
All reactions