Skip to content

Commit

Permalink
Merge pull request #313 from emilpaw/fix-service-class-package
Browse files Browse the repository at this point in the history
Move service class to correct package
  • Loading branch information
mraible authored Jan 30, 2024
2 parents d8af458 + d74e3fb commit b61ccd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/quarkus/entity-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const entityQuarkusFiles = {
}),
javaMainPackageTemplatesBlock({
condition: generator => generator.service === 'serviceClass' && !generator.embedded,
renameTo: (data, filename) => filename.replace('ServiceImpl.java', 'Service.java'),
renameTo: (_data, file) => file.replace('service/impl', 'service').replace('Impl.java', '.java'),
templates: ['_entityPackage_/service/impl/_entityClass_ServiceImpl.java'],
}),
javaMainPackageTemplatesBlock({
Expand Down

0 comments on commit b61ccd7

Please sign in to comment.