https://issues.jboss.org/browse/AEROGEAR-540
i created this on monday, but now i'm thinking otherwise.
The Data Manager Memory adapters filter method will only search on level of an object( at least i think). i was thinking we might need it to do a recursive search to find items not on the first level.
ex:
var object = {
name: thing,
value: {
thing2: thing3
}
}
alreadyCreatedDataManager.filter( { name:'thing' } ) => returns object
//currently this happens
alreadyCreatedDataManager.filter( { thing2:'thing3' } ) => returns empty [ ]
//with recursive
alreadyCreatedDataManager.filter( { thing2:'thing3' } ) => returns object
Now i'm not sure if thats the way to go.
Thoughts against:
bloat the code, developers could do this themselves when they get the data back, keeping our library leaner
Thoughts for:
Be nice to the developer
like to hear other thoughts