Make Route.clone properly copy parameter definitions
This commit is contained in:
parent
1be73dd347
commit
705bb20db1
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@extollo/lib",
|
"name": "@extollo/lib",
|
||||||
"version": "0.9.46",
|
"version": "0.9.47",
|
||||||
"description": "The framework library that lifts up your code.",
|
"description": "The framework library that lifts up your code.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
@ -339,6 +339,7 @@ export class Route<TReturn extends ResponseObject, THandlerParams extends unknow
|
|||||||
this.postflight = other.postflight.clone()
|
this.postflight = other.postflight.clone()
|
||||||
this.aliases = other.aliases.clone()
|
this.aliases = other.aliases.clone()
|
||||||
this.displays = other.displays.clone()
|
this.displays = other.displays.clone()
|
||||||
|
this.parameters = other.parameters.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
public calls<TKey>(
|
public calls<TKey>(
|
||||||
|
Loading…
Reference in New Issue
Block a user