mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
refactor(dynamic): unify message middleware collection across brokers, enhance SSA receiver type checks, and expand test coverage
This commit is contained in:
parent
17fa611b63
commit
cc083eb38f
15 changed files with 557 additions and 60 deletions
|
|
@ -79,7 +79,7 @@ impl FrameworkAdapter for SqsNodeAdapter {
|
|||
fn detect_sqs_node(
|
||||
summary: &FuncSummary,
|
||||
ssa_summary: Option<&SsaFuncSummary>,
|
||||
_ast: tree_sitter::Node<'_>,
|
||||
ast: tree_sitter::Node<'_>,
|
||||
file_bytes: &[u8],
|
||||
) -> Option<FrameworkBinding> {
|
||||
let matches_call = super::any_callee_matches(summary, callee_is_sqs);
|
||||
|
|
@ -99,7 +99,7 @@ fn detect_sqs_node(
|
|||
route: None,
|
||||
request_params: Vec::new(),
|
||||
response_writer: None,
|
||||
middleware: Vec::new(),
|
||||
middleware: super::collect_message_middleware(Lang::JavaScript, ast, file_bytes),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue