feat: opt-out of events in the app-server (#11319)

Add `optOutNotificationMethods` in the app-server to opt-out events
based on exact method matching
This commit is contained in:
jif-oai
2026-02-10 18:04:52 +00:00
committed by GitHub
parent 48e415bdef
commit a364dd8b56
15 changed files with 284 additions and 7 deletions

View File

@@ -1474,7 +1474,9 @@ mod tests {
let allow_optional_nullable = path
.file_stem()
.and_then(|stem| stem.to_str())
.is_some_and(|stem| stem.ends_with("Params"));
.is_some_and(|stem| {
stem.ends_with("Params") || stem == "InitializeCapabilities"
});
let contents = fs::read_to_string(&path)?;
if contents.contains("| undefined") {