Skip to content

Commit 8353e2e

Browse files
author
artem.loginov
committed
Try alternative template to fix @SuperBuilder issue.
1 parent dcbe5e3 commit 8353e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/resources/handlebars/springcodegen/pojo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}
22

33
@Data
4-
{{#vendorExtensions.x-inheritance}}@SuperBuilder{{/vendorExtensions.x-inheritance}}
4+
{{#vendorExtensions.x-inheritance}}{{^isContainer}}@SuperBuilder{{/isContainer}}{{/vendorExtensions.x-inheritance}}
55
{{^vendorExtensions.x-inheritance}}@Builder{{/vendorExtensions.x-inheritance}}
66
{{#parent}}@EqualsAndHashCode(callSuper=true){{/parent}}
77
@AllArgsConstructor

0 commit comments

Comments
 (0)