You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea what qs means or what the options for arrayFormat are! Or even any explanaton on what paramsserializeroptions is used for or what problem it solves.
melloware
changed the title
arrayFormat does not seems to work.
paramsserializeroptions: arrayFormat does not seems to work.
Dec 18, 2024
melloware
changed the title
paramsserializeroptions: arrayFormat does not seems to work.
paramsSerializerOptions: arrayFormat does not seems to work.
Dec 18, 2024
@AllieJonsson these docs definitely need improving as I looked at it and it tells me absolutely nothing about this feature, what its for, what the values mean, Axios only etc?
I agree! I can try to both improve the docs and make this work with fetch, its quite a cool feature! qs is a npm package that stringifies query parameters from an object. E.g.
Hello,
I'm trying to use
arrayFormat
but it does not seems to work, as in the docsI'm not sure it's a bug since there is no qs library installed anyway. does this option only works if axios is used?
Update: I just tried to provide a custom params serializer function, it's not used in the generated code and all the code are using
URLSearchParams
The text was updated successfully, but these errors were encountered: