-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paramsSerializerOptions: arrayFormat does not seems to work. #1751
Comments
I think we need much better documentation: https://orval.dev/reference/configuration/output#paramsserializeroptions I have no idea what |
Yes, it seems like this is only supported for |
@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! {
Foo: {
Bar: "baz"
}
} Could become |
Thanks! |
This allows you to handle the serializer as defined by |
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: