Skip to content

Commit

Permalink
Update generators/spring-boot/templates/src/main/java/_package_/_enti…
Browse files Browse the repository at this point in the history
…tyPackage_/_partials_entity_/get_all_template.ejs

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
  • Loading branch information
qmonmert and mshima authored Sep 18, 2024
1 parent 11638ea commit 88f144d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ _%>
<% if (implementsEagerLoadApis && !dtoMapstruct) { %>
return <%= entityInstance %>Repository.findAllWithEagerRelationships()<% if (reactive) { %>.collectList()<% } %>;
<%_ } else { _%>
return <%= entityInstance %>Service.findAll()<% if (reactive) { %>.collectList()<% } %>;
return <%= entityInstance %>Service.findAll(<% if (implementsEagerLoadApis) { %>eagerload<% } %>)<% if (reactive) { %>.collectList()<% } %>;
<%_ } _%>
<%_ } else if (dtoMapstruct) { _%>
<%= reactive ? 'Flux' : 'List' %><<%= persistClass %>> <%= entityInstancePlural %> = <%= entityInstance %>Repository.findAll();
Expand Down

0 comments on commit 88f144d

Please sign in to comment.