Closed SanderMertens closed 6 years ago
Currently default values can only be specified in init hooks. To allow for a more declarative approach, it should be possible to annotate the model with defaults. For example:
struct Point:/ x: int32, default = "10" y: int32, default = "20"
Currently default values can only be specified in init hooks. To allow for a more declarative approach, it should be possible to annotate the model with defaults. For example: