A request whose using names a capability the server doesn't offer failed as a parse error and came back as notRequest. RFC 8620 section 3.6.1 says unknownCapability, and that's what a client can act on: an old capability name or a feature this server doesn't have.
using now parses without failing and keeps the first unknown name. Request and WebSocket parsing then fail with the existing UnknownCapability event, which already maps to the right error type, with the name in detail.
Tests cover HTTP and WebSocket requests, and check that a known capability still parses.
A request whose `using` names a capability the server doesn't offer failed as a parse error and came back as `notRequest`. RFC 8620 section 3.6.1 says `unknownCapability`, and that's what a client can act on: an old capability name or a feature this server doesn't have.
`using` now parses without failing and keeps the first unknown name. Request and WebSocket parsing then fail with the existing `UnknownCapability` event, which already maps to the right error type, with the name in `detail`.
Tests cover HTTP and WebSocket requests, and check that a known capability still parses.
A request naming a capability the server doesn't offer failed as a whole
parse error, so the client got notRequest with serde's message. RFC 8620
section 3.6.1 says unknownCapability, and a client that checks for it can
tell the user what's wrong (an old capability name, a feature this server
doesn't have).
"using" now parses without failing and keeps the first unknown name;
Request::parse and WebSocketMessage::parse then fail with
JmapEvent::UnknownCapability, which already maps to the error type, with
the name as its detail.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A request whose
usingnames a capability the server doesn't offer failed as a parse error and came back asnotRequest. RFC 8620 section 3.6.1 saysunknownCapability, and that's what a client can act on: an old capability name or a feature this server doesn't have.usingnow parses without failing and keeps the first unknown name. Request and WebSocket parsing then fail with the existingUnknownCapabilityevent, which already maps to the right error type, with the name indetail.Tests cover HTTP and WebSocket requests, and check that a known capability still parses.