Release 4.1.0-beta.01
Pre-release
Pre-release
As a side effect of [#43] bug fix, it became possible to generate mutable DTO classes.
To enable mutable DTO generation
Gradle:
kobby {
kotlin {
dto {
maxNumberOfFieldsForImmutableDtoClass = 0 // Generate mutable DTO classes
maxNumberOfFieldsForImmutableInputClass = 0 // Generate mutable Input classes
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<dto>
<!-- Generate mutable DTO classes -->
<maxNumberOfFieldsForImmutableDtoClass>0</maxNumberOfFieldsForImmutableDtoClass>
<!-- Generate mutable Input classes -->
<maxNumberOfFieldsForImmutableInputClass>0</maxNumberOfFieldsForImmutableInputClass>
</dto>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Bug fixes
- java.lang.ClassFormatError for generated dto classes [#43]
New features
- Mutable DTO support