Skip to content

propertyDefaults for observable class fields

Compare
Choose a tag to compare
@cherifGsoul cherifGsoul released this 18 Jun 16:15
· 7 commits to master since this release

Makes observable class field work with propertyDefaults:

class MyType extends ObservableObject {
     foo = 5;

      static propertyDefaults = {
           type: type.maybeConvert(String)
      };
}

#34