GNU bug report logs - #72941
jsonrpc: Check if parameters are in line with the spec

Previous Next

Package: emacs;

Reported by: Felician Nemeth <nemethf <at> tmit.bme.hu>

Date: Sun, 1 Sep 2024 21:48:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Pettersson <daniel <at> dpettersson.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Felician Nemeth <nemethf <at> tmit.bme.hu>, 72941 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: bug#72941: jsonrpc: Check if parameters are in line with the spec
Date: Sat, 28 Sep 2024 13:40:00 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> So do we want to close this as wontfix?

Yes, if anybody would clarify the variable type expectations
documentation that would be great but all in all this is would be
wontfix.

>> From: Felician Nemeth <nemethf <at> tmit.bme.hu>

>> Maybe when the server responds with an error to a jsonrpc-request, then
>> jsonrpc.el could create an additional warning if the params of the
>> request was not structured.  Or maybe it is too much work for a very
>> small gain.

It seams like something that would be a bit of mess and I would expect
that an sane jsonrpc server would include the reason for error in the
error response.





This bug report was last modified 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.