Empty constructor for models with fields with default constructor
Open
- Dominant language
- C#
- Stars
- 417
- Forks
- 62
- Avg merge
- 9h 15m
- Merged PRs (30d)
- 7
Description
Empty constructor for `RdWrapper` is expected using this model
```
val RdContent = classdef {
property("myProperty", string)
field("myField", string).default("Default")
}
val RdWrapper = classdef {
field("content", RdContent)
}
```
but `RdContent` should be explicitly passed as argument: `RdWrapper(RdContent())`.
`RdWrapper` should have empty constructor because `myProperty` is property and `myField` has default value.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.