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

feat(http): support configuring stringify options #587

Merged
merged 8 commits into from
Feb 28, 2025
Merged

Conversation

ryo-gk
Copy link
Member

@ryo-gk ryo-gk commented Feb 27, 2025

In some cases, we'd like to pass options to the stringify method when processing query parameters for HTTP requests.
For example, some servers accept array query parameters in the format a=b&a=c&a=d, while others require a different format like a[0]=b&a[1]=c&a[2]=d.
In such cases, we'd like to pass the arrayFormat option to the stringify method.

@ryo-gk ryo-gk self-assigned this Feb 27, 2025
Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for sefirot-story ready!

Name Link
🔨 Latest commit 26c4acf
🔍 Latest deploy log https://app.netlify.com/sites/sefirot-story/deploys/67c019abeb78e000082658d5
😎 Deploy Preview https://deploy-preview-587--sefirot-story.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for sefirot-docs ready!

Name Link
🔨 Latest commit 26c4acf
🔍 Latest deploy log https://app.netlify.com/sites/sefirot-docs/deploys/67c019abf8b7d500083838dd
😎 Deploy Preview https://deploy-preview-587--sefirot-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

brc-dd
brc-dd previously approved these changes Feb 27, 2025
brc-dd
brc-dd previously approved these changes Feb 27, 2025
@brc-dd brc-dd changed the title feat(http): make http methods be acceptable options for stringify query feat(http): support configuring stringify options Feb 27, 2025
@kiaking kiaking merged commit db4643a into main Feb 28, 2025
9 checks passed
@kiaking kiaking deleted the http-stringify branch February 28, 2025 03:31
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.

3 participants