You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
then in Network tab look at request. It will be: /api/resource?fields=ID&fields=Name
when should be fields%5B0%5D=ID&fields%5B1%5D=Name
If we will try to replace array with an object, result will be even worse: http://plnkr.co/edit/pdvvUk9HCVGSKPwz7S3m /api/resource?fields=%7B%220%22:%22ID%22,%221%22:%22Name%22%7D
decoded it looks: /api/resource?fields={"0":"ID","1":"Name"}
If there is any workaround for this issue, please let me know.
The text was updated successfully, but these errors were encountered:
So, this is kind of the same as #7363 (and others). The trouble is that there are many possible serialization schemas for request params, so we are probably going to abstract this in a service, so people can swap it at will to match their backend's requirements.
Closing as a duplicate of #7363, working on a service.
I agree this is duplicate but I don't agree that there are many possible serialization schemes. In #7363 author expects same scheme in output and I'm sure it's only legit scheme.
Please turn on console and run this plunker: http://plnkr.co/edit/xGqtovSsNOYFGm9XzLsr?p=info
then in
Network
tab look at request. It will be:/api/resource?fields=ID&fields=Name
when should be
fields%5B0%5D=ID&fields%5B1%5D=Name
If we will try to replace array with an object, result will be even worse:
http://plnkr.co/edit/pdvvUk9HCVGSKPwz7S3m
/api/resource?fields=%7B%220%22:%22ID%22,%221%22:%22Name%22%7D
decoded it looks:
/api/resource?fields={"0":"ID","1":"Name"}
If there is any workaround for this issue, please let me know.
The text was updated successfully, but these errors were encountered: