DSHttpAdapter#find/create/update/destroy do not call queryTransform
See original GitHub issuePer discussion at https://groups.io/org/groupsio/jsdata/thread/40098 it’s expected that DS#find
will run the (optionally) passed params
object through DSHttpAdapterProvider.defaults.queryTransform
like how DS#findAll
does. Currently this does not happen.
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Wouldn’t it be better if they did? Unless there’s another way, new actions can’t get transformed and also return a full structure instead of the data since deserialize is also not called.
I tend to agree, though at this point I’m not sure that if add
queryTransform
to those methods it wouldn’t be a breaking change for some people.