graphql-mesh
graphql-mesh copied to clipboard
ODATA query parameters not url-encoded
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- [ ] 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run
yarn generate
in the terminal.Please make sure Mesh package versions under
package.json
matches yours.
- [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
Describe the bug
When using OData with query parameters, the query parameters are not url-encoded. This worked last week?
* STATE: INIT => CONNECT handle 0x14104be08; line 1879 (connection #-5000)
* curl_url_set rejected https://api.server.nl/OData/V1/projects?$filter=Number eq '1234'&$select=Id,Description: Bad query
* Closing connection -1
To Reproduce Steps to reproduce the behavior:
Expected behavior
Do a curl with url-encoded parameters.
Environment:
- OS:
-
@graphql-mesh/odata
: - NodeJS:
everything latest version
Additional context