mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-30 20:39:39 +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
|
|
@ -180,10 +180,7 @@ impl FrameworkAdapter for RubyHanamiAdapter {
|
|||
Some(FrameworkBinding {
|
||||
adapter: ADAPTER_NAME.to_owned(),
|
||||
kind: EntryKind::HttpRoute,
|
||||
route: Some(RouteShape {
|
||||
method: http_method,
|
||||
path,
|
||||
}),
|
||||
route: Some(RouteShape::single(http_method, path)),
|
||||
request_params,
|
||||
response_writer: None,
|
||||
middleware,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue