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

do not rely on js class names as they can be mangled during uglification #5

Closed ikido closed 7 years ago

ikido commented 8 years ago

Right now we rely heavily on js class names to make relations work. This leads to problem when generating production build with function name manglin turned on. Maybe it's better to define 'modelName' property on each class

Staltec commented 7 years ago

27 Fix it and cover tests