Skip to content

Commit

Permalink
Merge pull request #6 from logart/alternative-template
Browse files Browse the repository at this point in the history
Exclude built in container types from inheritance
  • Loading branch information
slamdev committed Feb 22, 2024
2 parents dcbe5e3 + 8353e2e commit a6fa324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}

@Data
{{#vendorExtensions.x-inheritance}}@SuperBuilder{{/vendorExtensions.x-inheritance}}
{{#vendorExtensions.x-inheritance}}{{^isContainer}}@SuperBuilder{{/isContainer}}{{/vendorExtensions.x-inheritance}}
{{^vendorExtensions.x-inheritance}}@Builder{{/vendorExtensions.x-inheritance}}
{{#parent}}@EqualsAndHashCode(callSuper=true){{/parent}}
@AllArgsConstructor
Expand Down

0 comments on commit a6fa324

Please sign in to comment.