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
t is not optional in error frame. According to the docs:
t ("type", string, optional): required if op is 1, indicating the Lexicon sub-type for this message, in short form. Does not include the full Lexicon identifier, just a fragment. Eg: #commit. Should not be included in header if op is -1. (atproto.com/specs/event-stream#streaming-wire-protocol-v0)
To Reproduce
Listen for firehose
Wait until error frame will be sent
Check the value of the frame
You will see empty string for t field
{'t': '', 'op': -1}
Expected behavior
When error happens t should not be provided at all
Describe the bug
Hello, it is me again 😢
t
is not optional in error frame. According to the docs:To Reproduce
t
fieldExpected behavior
When error happens t should not be provided at all
Additional context
MarshalX/atproto#430
It is expected? Should firehose listeners be ready to ignore
t
for op -1 on client side?The text was updated successfully, but these errors were encountered: