Releases: pbomb/flow-immutable-models
Releases · pbomb/flow-immutable-models
Version 0.11.1
Version 0.10.0
v0.8.1
v0.8.0
Changes
- Return type of setters changed to
this
instead of the specific model class to support extending model classes - Added support for Object maps. If you type a property as
{ [key: string]: number }
, then it will convert that object toImmutable.Map<string, number>
inside the class. The value can also be another ModelType and it will convert the values to the model class. This still needs to be documented properly.