Long Problem in pullAttributeFilters
erickdsama opened this issue · comments
If you use
config.pullAttributeFilters = {
"sender": [1]
};
in replication config you got a empty response, that is because the value of Dart send is of int but the response JSON in Java is of Lang.Long
i solved the problem with a simple if. but it's only a quick fix
Replicatorjson.java line 150
if (value instanceof Long) {
try {
value = ((Long) value).intValue();
}catch (Exception e) {
System.out.println("Error"+e.toString());
}
}