--
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-rpc+u...@googlegroups.com.
To post to this group, send email to json...@googlegroups.com.
Visit this group at https://groups.google.com/group/json-rpc.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-rpc+u...@googlegroups.com.
To post to this group, send email to json...@googlegroups.com.
Visit this group at https://groups.google.com/group/json-rpc.
For more options, visit https://groups.google.com/d/optout.
> I'm partial to enveloping this type of data, with a json-rpc payload inside of it.This actually reminds me of a question I have as someone new to the community here. How much does the community in general value interoperable JSON-RPC implementations? I think your approach is totally valid for a proprietary implementation, but would raise issues interacting with another "standard" implementation.This question has a significant impact on the proposal for a meta object in general. If interoperable JSON-RPC implementations are not very important to us, then I think a meta object doesn't really need to be added to the standard, anyone who wants something like that can just add it to their JSON-RPC "based" protocol with the knowledge that they'll be implementing all the clients and servers. But if interoperability is a a concern, then I think a meta field is a valuable addition to enable extensible middleware.
On Sun, Nov 18, 2018 at 12:27 PM Matt (MPCM) <wicke...@gmail.com> wrote:
I'm partial to enveloping this type of data, with a json-rpc payload inside of it. This way you can either stick that in a JWT, and have a dedicated layer that applies authorization, and fwd's on, or if it is really part of your method signature... it should of course live in params. I dont quite feel this warrants existing in the core spec, because there are a lot of blends of what people want and consider a best practice, lots of bike-shedding... often this has direct transport considerations, or rate-limiting implications, that are more specific to the env at all, ahead of method execution.--
On Friday, November 9, 2018 at 9:00:00 PM UTC-5, Nathan Fischer wrote:Frequently a message has some metadata associated with it that wouldn't be suitable to be called a parameter of the method. Things like authorization tokens, correlation/request IDs, etc.I would propose adding an optional "meta" field to the request and response objects with a description like "A Structured value that holds the metadata to be used during the invocation of the method. This member MAY be omitted.".This could come with a bump to a protocol version number of 2.1. It shouldn't be a breaking change since existing 2.0 software can just ignore the metadata, although new software may require it.Anyone have thoughts on this?
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json...@googlegroups.com.
To post to this group, send email to json...@googlegroups.com.
Visit this group at https://groups.google.com/group/json-rpc.
For more options, visit https://groups.google.com/d/optout.