pbomb / flow-immutable-models

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

Extend Immutable.Record instead of composing with Immutable.Map #2

Open pbomb opened 7 years ago

pbomb commented 7 years ago

Explore extending Immutable.Record with same getters / setters. With this approach, we might be able to add in default values (initialValues variable) so we can be more sure about types not having to be maybe types.