question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DSHttpAdapter#find/create/update/destroy do not call queryTransform

See original GitHub issue

Per 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:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MikaAKcommented, Mar 10, 2015

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.

0reactions
jmdobrycommented, Mar 10, 2015

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found