Skip to content

Commit a6fa324

Browse files
authored
Merge pull request #6 from logart/alternative-template
Exclude built in container types from inheritance
2 parents dcbe5e3 + 8353e2e commit a6fa324

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)