You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far so good, I can cope with these differences.
The problem occurs when I try to pass that same correlation_id to a new message (as is the most useful thing to do of course). Since, for big numbers, I'm passing a Buffer, it is encoded as a Uuid, which is different from the ulong I wanted!
To me this is a bug. the only way I can now send a correlation_id of type ulong from the frontend is by making it a Number, which is too small... And sending back correlation_id's from my backend can just fail depending on what value it sends.
The text was updated successfully, but these errors were encountered:
My backend sends a
ulong
forcorrelation_id
, which is fine according to the spec.When the
ulong
is decoded it returns aNumber
when possible and aBuffer
otherwise.rhea/lib/types.js
Lines 228 to 236 in e826e8b
So far so good, I can cope with these differences.
The problem occurs when I try to pass that same
correlation_id
to a new message (as is the most useful thing to do of course). Since, for big numbers, I'm passing aBuffer
, it is encoded as aUuid
, which is different from theulong
I wanted!rhea/lib/types.js
Lines 490 to 502 in e826e8b
To me this is a bug. the only way I can now send a
correlation_id
of typeulong
from the frontend is by making it aNumber
, which is too small... And sending backcorrelation_id
's from my backend can just fail depending on what value it sends.The text was updated successfully, but these errors were encountered: