Skip to content
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

Allow null indexes on formSerializer and paramsSerializer #4960

Merged
merged 4 commits into from Sep 29, 2022

Conversation

WillianAgostini
Copy link
Contributor

@WillianAgostini WillianAgostini commented Sep 15, 2022

Fixes 4959
Docs: automatic-serialization-to-formdata

Allow indexes to receive null value.

axios.create({
  headers: {
    'Content-Type': 'application/json',
  },
  formSerializer: {
    indexes: null,
  },
  paramsSerializer: {
    indexes: null,
  },
});

Willian Agostini added 2 commits September 15, 2022 10:15
Param indexes from formSerializer and paramsSerializer receiving null

Closes axios#4959
@WillianAgostini WillianAgostini changed the title Allow null indexes Allow null indexes on formSerializer and paramsSerializer Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wrong type for config params formSerializer and paramsSerializer
2 participants