wearevolt / mobx-model

Simplify mobx data stores that mimic backend models
http://wearevolt.github.io/mobx-model
MIT License
55 stars 10 forks source link

hasOne relations are not looked up in the cache when only foreign key is in json #3

Open ikido opened 8 years ago

ikido commented 8 years ago

Right now we should be able to designate a related hasOne model instance by supplying only its id. Model instance should be loaded from a cache, if any, but right now that doesn't happen