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
* adding an extra parameter for a transform callback in the rest methods
* added demo code placeholder for http tests
* Updated docs and readme
* added onRequestError interceptor
* updated docs and readme with onRequestError hook
* removed the CDATA from demo by mistake
* move text in docs to fit screen better
* added unit tests for RESTService with basic tests (normal cases)
* added use case with string parameter names (dashes)
* added unit test for baseHeader checkup
* added unit test for dynamicHeaders
* added tests for service transform and method transform
* fixed lint issues
* changed id-for-something to id-of-something for consistency
* removed DemoServices since unit tests are gonna be used for testing the RESTService
Feature Request
A way to override the transformation (
transform
) function provided at a service level.What is the expected behavior?
Be able to return a parsed or diff object without affecting the other methods from any RESTService methods (query, get, etc etc).
e.g. Wanting to parse the response before returning it or returning response headers with the data.
Usage
Current:
Desired (maybe):
The text was updated successfully, but these errors were encountered: