Hi team,
as part of the API overhaul ticket[1] for the next CR1 release, we are suggesting that in
the 'remove' method in the Pipe object, we should pass the actual object rather
than the id. That is, because of iOS familiarity (CoreData) , users expect a remove to
happen on an object [2] rather than the id of the object. We can determine the final
endpoint by using the "recordId" property of the config object in iOS and the
"RecordId annotation" in Android as we currently do on save. In Javascript it
support both approaches (either by id or by object).
What do you think?
A ticket has been already opened for this change, see [3]
Thanks,
Christos
[1]
https://issues.jboss.org/browse/AEROGEAR-763
[2]
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/C...
[3]
https://issues.jboss.org/browse/AEROGEAR-758