The modelCache currently only relies on modelUrl and id. This will lead to bugs if the model is a sub-resource and has parent ids. The modelCache should use a complete resourceUrl instead, like post/23/comment/4.
You can find a re-useable implementation of such an url helper in lib/client/RemoteService.class.js
The modelCache currently only relies on modelUrl and id. This will lead to bugs if the model is a sub-resource and has parent ids. The modelCache should use a complete resourceUrl instead, like post/23/comment/4.
You can find a re-useable implementation of such an url helper in lib/client/RemoteService.class.js