pbomb / flow-immutable-models

Generates model classes from Flow types using Immutable.js
42 stars 8 forks source link

Construct model using Immutable.Map instead of Immutable.fromJS #16

Closed pbomb closed 7 years ago

pbomb commented 7 years ago

Immutable.from can be too heavy-handed, especially since we're handling nested models by explicitly calling the other model's fromJS method.