We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1eba0 commit 012d8b9Copy full SHA for 012d8b9
src/compiler.ts
@@ -48,8 +48,13 @@ const _compileMethodMatch = (
48
for (let i = 0; i < paramsMap.length; i++) {
49
const map = paramsMap[i];
50
51
- if (typeof map[1] !== "string")
52
- throw new Error("Compiler does not handle regexp parameter name");
+ if (typeof map[1] !== "string") {
+ console.warn(
53
+ `regexp route params are not supported in compiler mode yet, skipping`,
54
+ map[1],
55
+ );
56
+ continue; // TODO
57
+ }
58
59
// Select proper parameter
60
str += `${JSON.stringify(map[1])}:${params[i]},`;
0 commit comments