ember-cli / ember-cli/ember-fetch

Migration from jquery.ajax $.ajaxSettings.traditional = true. How remove [] from params

Open
#625 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
176
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Migrating from jquery ajax to ember-fetch:

When the app sends queryParams that is type: 'array'.
For example: b = [ 1 , 2 , 3 ]
In jquery ajax settings when traditional = true -> b=1&b=2&b=3
In jquery ajax settings when traditional = false -> b[]=1&b[]=2&b[]=3

In ember-fetch, there is no option traditional = true, always send params with []

Is there an option that I am missing ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.