We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4611b26 commit 305ed47Copy full SHA for 305ed47
1 file changed
codegen/lib/connect.ts
@@ -46,6 +46,10 @@ export const connect = (
46
47
routeIndexes[namespace.path] ??= new Set()
48
routeIndexes[namespace.path]?.add(`${kebabCase(namespace.name)}.js`)
49
+
50
+ const parentPath = namespace.parentPath ?? ''
51
+ routeIndexes[parentPath] ??= new Set()
52
+ routeIndexes[parentPath]?.add(`${kebabCase(namespace.name)}/index.js`)
53
}
54
55
for (const route of routes) {
0 commit comments