Is your feature request related to a problem? Please describe.
I would like to override the Axios paramsSerializer with local amendments whilst re-using as much of the original Axios code as possible so that upstream changes are not lost. The problem I am facing is that the encode() function is not currently exported so that if you wanted to make use of that functionality when declaring the encode/serialize methods of a paramsSerializer you need to either write your own encode() function or copy paste Axios' method into your own project.
Describe the solution you'd like
This could be resolved by simply providing an export for the encode() function
Describe alternatives you've considered
Currently the alternative is to vendor in the code by copy pasting the existing encode() function into a project which comes at the risk of not receiving upstream changes.
Is your feature request related to a problem? Please describe.
I would like to override the Axios
paramsSerializerwith local amendments whilst re-using as much of the original Axios code as possible so that upstream changes are not lost. The problem I am facing is that theencode()function is not currently exported so that if you wanted to make use of that functionality when declaring the encode/serialize methods of a paramsSerializer you need to either write your ownencode()function or copy paste Axios' method into your own project.Describe the solution you'd like
This could be resolved by simply providing an export for the
encode()functionDescribe alternatives you've considered
Currently the alternative is to vendor in the code by copy pasting the existing
encode()function into a project which comes at the risk of not receiving upstream changes.