Make Route.clone properly copy parameter definitions

This commit is contained in:
Garrett Mills 2022-06-28 20:53:15 -05:00
parent 1be73dd347
commit 705bb20db1
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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>(