@domain-first/project-structure 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -685,7 +685,7 @@ export class ${endpointNaming.ClassName} {
|
|
|
685
685
|
|
|
686
686
|
get handle() {
|
|
687
687
|
return this.endpointGenerator(this.logic, {
|
|
688
|
-
route: { method: '${method}', path: ['${boundedContextFolder.name}
|
|
688
|
+
route: { method: '${method}', path: ['${boundedContextFolder.name}/${controller}'${path.length ? `, ${path.map((x)=>`'${x}'`).join(', ')}` : ''}] },
|
|
689
689
|
tags: ['${boundedContextFolder.name}: ${controller}'],
|
|
690
690
|
})
|
|
691
691
|
}
|
package/dist/index.js
CHANGED
|
@@ -655,7 +655,7 @@ export class ${endpointNaming.ClassName} {
|
|
|
655
655
|
|
|
656
656
|
get handle() {
|
|
657
657
|
return this.endpointGenerator(this.logic, {
|
|
658
|
-
route: { method: '${method}', path: ['${boundedContextFolder.name}
|
|
658
|
+
route: { method: '${method}', path: ['${boundedContextFolder.name}/${controller}'${path.length ? `, ${path.map((x)=>`'${x}'`).join(', ')}` : ''}] },
|
|
659
659
|
tags: ['${boundedContextFolder.name}: ${controller}'],
|
|
660
660
|
})
|
|
661
661
|
}
|