posva / mande

<700 bytes convenient and modern wrapper around fetch with smart extensible defaults
https://mande.esm.is
MIT License
1.19k stars 42 forks source link

How to use interceptors #412

Closed akhoury closed 1 year ago

akhoury commented 1 year ago

I am seeing hints of interceptors, but I don't think they're published or used at all for that matter.

https://github.com/posva/mande/blob/9986ba5e7b01ba6bc492f31bf59fdfd19866fc1a/src/interceptors.ts#L7

I would like to stringifyQuery() differently, basically all the query values that are arrays, are being sent as CSV but I would like to change that.

Thank you.

posva commented 1 year ago

They aren't supported yet. Track with https://github.com/posva/mande/pull/340#issuecomment-1446565298