reference icon indicating copy to clipboard operation
reference copied to clipboard

Get Response in case of multikey path should be sorted at server side or client ?

Open quity opened this issue 1 year ago • 2 comments

If a path is a/b/c/name[key1=val1][key2=val2] for a gRPC GET request, the order of keys(alphabetical order) here in response should be maintained by client or server ?

AsyncGet(GetResponse) =>

Notification[0]: timestamp : 662426695970000000 prefix : – Update[000] : Path : "a" "b" "c" "name[key1=val1][key2=val2]"

as mentioned in spec - If multiple keys exist for a particular element, they MUST be specified sorted alphabetically by the key name.

quity avatar Feb 01 '24 11:02 quity

This should be implemented at the server side for both Subscribe and Get in my view.

robshakir avatar Feb 01 '24 23:02 robshakir

Thanks @robshakir .

quity avatar Feb 07 '24 13:02 quity