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
When working in the browser with loopback, using the find method returns different object types. Using a remote find method returns an array with plain objects with the models data and a plain JS Object as its constructor, while using the local model returns a modelConstructor with all the function expected.
The text was updated successfully, but these errors were encountered:
Hi @BerkeleyTrue, thank you for reporting the bug. We have moved the remote connector to a new module, the fix will almost certainly require changes there.
2.11.1
* Optimize the code to remove closure and bind (Raymond Feng)
* Fix parsing JSON arrays with arrayItemDelimiters on. (Samuel Reed)
* Add remote hooks to RestAdapter.invoke method Hooks on invoke are needed to use methods like User.login remotely from loopback-connector-remote. see #150 and #105 and strongloop/loopback#943 (Berkeley Martinez)
* Ensure Remote-Connector Converts Types in Array Fix bug strongloop/loopback#886 (Berkeley Martinez)
When working in the browser with loopback, using the find method returns different object types. Using a remote find method returns an array with plain objects with the models data and a plain JS Object as its constructor, while using the local model returns a modelConstructor with all the function expected.
The text was updated successfully, but these errors were encountered: