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

Adds options.transformRequest to allow changing the structure of the request #772

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jendoliver
Copy link

(Defaults to previous implementation)

I just needed to do this to use an endpoint which was expecting the autocomplete search term in a nested object (something like the example I added to the docs). I agree that this is pretty strange but as modifying the endpoint is not an option and I think this could be the case for another person, my opinion is that this could be helpful.

I know there's a PR with a similar name (#179) but that one only changes the search term instead of changing the request structure.

If there's already a way to do this then sorry for not being able to find it!

defaulting to the previous implementation.
Updates docs.
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.

None yet

1 participant