-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model (PersistedModel) should implement all DAO methods #57
Comments
I am facing the same problem. I'd like that implemented too. It is possible to execute |
@jlgallego would you mind contributing this improvement yourself? |
I have these methods implemented in the "fix_flatten" branch in my repository (https://github.com/ageneau/loopback-sdk-android). I haven't had time to rebase it on the latest changes yet. The "find" and "findOne" methods now take optional parameters. |
Unfortunately, I don't feel I have the time for it right now. Anyway I think @ageneau 's work is worth a look & test. |
Does anyone @bajtos or @jlgallego had a look on @ageneau job ? more an more people request this feature that decrease Loopback capabilities by this lack. I'm volunteer to help, but unfortunately not skilled enough to just do it. |
@afaucogney I'm using @ageneau 's find() method and it works with 'filter'. If you wish to get started with solving this, I recommend to debug RestAdapter and com.strongloop.android.remoting.adapters.RestAdapter class. It constructs URL in the end which gets posted to the server. I'm happy to help/contribute. |
At the moment, the
ModelRepository
class implements only a subset of methods provided by PersistedModel on the server.Most notably it is not possible to execute
find
with a custom filter.We should improve
ModelRepository
and include all built-in methods OOTB.Related: https://groups.google.com/forum/#!topic/loopbackjs/1xHq5vFRayk
The text was updated successfully, but these errors were encountered: