mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
refactor(dynamic): add multi-method support to RouteShape, update framework bindings, and improve test coverage
This commit is contained in:
parent
4bcdec3a1b
commit
ca075a7141
55 changed files with 524 additions and 215 deletions
|
|
@ -134,10 +134,7 @@ mod tests {
|
|||
FrameworkBinding {
|
||||
adapter: "test-adapter".to_string(),
|
||||
kind: EntryKind::HttpRoute,
|
||||
route: Some(RouteShape {
|
||||
method: HttpMethod::GET,
|
||||
path: "/x".to_string(),
|
||||
}),
|
||||
route: Some(RouteShape::single(HttpMethod::GET, "/x")),
|
||||
request_params: Vec::new(),
|
||||
response_writer: None,
|
||||
middleware: middleware
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue