Skip to content

setting generateNoArgsConstructorOnly to true generates non-compileable source files #1154

@andreloeffelmann

Description

@andreloeffelmann

Issue Description

Since #1037, the plugin will generate classes that won't compile when setting generateNoArgsConstructorOnly to true.
Reason: the braces () are missing when instantiating a class in the build() method of any DTO class.
Example:

public MyExampleDto build() {
            MyExampleDto result = new MyExampleDto;
            result.cursor(this.cursor);
            result.node(this.node);
            return result;
}

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions