Uh oh!
There was an error while loading. Please reload this page.
[PUB-925] Add new protocol message flags, actions, channel modes and message types for Objects - #279
Conversation
a74f41f to
cac4111Comparecac4111 to
380eb38Compare380eb38 to
490b953Comparec5de3cc to
d44ca77Compare490b953 to
92b5a16CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SimonWoolf
left a comment
There was a problem hiding this comment.
I'm not super familiar with the state protocol, so just reviewing from the POV of well-formed-ness as a spec. From that POV this looks fine, nice job 👍. couple minor nitpicks.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mschristensen
left a comment
There was a problem hiding this comment.
Suggested a couple of small changes & also echo Simon's comments, after that looks good
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
92b5a16 to
f79593cComparef79593c to
74e2319Compare74e2319 to
7669d86Compare… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
… feature This commit does next changes: - removes `state` mentions in comments / internal API. Uses `objects` instead where possible - normalizes terminology used when referencing "LiveObjects" product and objects on a channel according to LiveObjects product docs PR [1] - `STATE` message action -> `OBJECT` - `STATE_SYNC` message action -> `OBJECT_SYNC` - `HAS_STATE` flag -> `HAS_OBJECT` - `StateMessage` type -> `ObjectMessage` - `StateOperation` type -> `ObjectOperation` - `StateObject` type -> `ObjectState` - `StateData` type -> `ObjectData` - `StateValue` type -> `ObjectValue` This brings ably-js LiveObjects implementation in line with the naming changes introduced in the spec PR [2]. [1] ably/docs#2463 (review) [2] ably/specification#279 (comment)
… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
… and ChannelMetrics for Objects Resolves PUB-925
3ec3f47 to
139c972CompareVeskeR
commented
Apr 1, 2025
Renamed |
… feature This commit does next changes: - removes `state` mentions in comments / internal API. Uses `objects` instead where possible - normalizes terminology used when referencing "LiveObjects" product and objects on a channel according to LiveObjects product docs PR [1] - `STATE` message action -> `OBJECT` - `STATE_SYNC` message action -> `OBJECT_SYNC` - `HAS_STATE` flag -> `HAS_OBJECT` - `StateMessage` type -> `ObjectMessage` - `StateOperation` type -> `ObjectOperation` - `StateObject` type -> `ObjectState` - `StateData` type -> `ObjectData` - `StateValue` type -> `ObjectValue` This brings ably-js LiveObjects implementation in line with the naming changes introduced in the spec PR [2]. [1] ably/docs#2463 (review) [2] ably/specification#279 (comment)
… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
… feature This commit does next changes: - removes `state` mentions in comments / internal API. Uses `objects` instead where possible - normalizes terminology used when referencing "LiveObjects" product and objects on a channel according to LiveObjects product docs PR [1] - `STATE` message action -> `OBJECT` - `STATE_SYNC` message action -> `OBJECT_SYNC` - `HAS_STATE` flag -> `HAS_OBJECT` - `StateMessage` type -> `ObjectMessage` - `StateOperation` type -> `ObjectOperation` - `StateObject` type -> `ObjectState` - `StateData` type -> `ObjectData` - `StateValue` type -> `ObjectValue` This brings ably-js LiveObjects implementation in line with the naming changes introduced in the spec PR [2]. [1] ably/docs#2463 (review) [2] ably/specification#279 (comment)
… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
… feature This commit does next changes: - removes `state` mentions in comments / internal API. Uses `objects` instead where possible - normalizes terminology used when referencing "LiveObjects" product and objects on a channel according to LiveObjects product docs PR [1] - `STATE` message action -> `OBJECT` - `STATE_SYNC` message action -> `OBJECT_SYNC` - `HAS_STATE` flag -> `HAS_OBJECT` - `StateMessage` type -> `ObjectMessage` - `StateOperation` type -> `ObjectOperation` - `StateObject` type -> `ObjectState` - `StateData` type -> `ObjectData` - `StateValue` type -> `ObjectValue` This brings ably-js LiveObjects implementation in line with the naming changes introduced in the spec PR [2]. [1] ably/docs#2463 (review) [2] ably/specification#279 (comment)
… / site codes in client side LiveObjects implementation See the relevant discussion in the spec PR [1] [1] ably/specification#279 (comment)
See Simon's comment [1]. The `channel` property should not be expected in the wire protocol for object messages, just like it isn't present in a message or presencemessage. [1] ably/specification#279 (comment)
"binary" is used more frequently in the spec and is a bit more generic than "buffer". For more context see the discussion in the PR [1]. [1] #279 (comment)
"binary" is used more frequently in the spec and is a bit more generic than "buffer". For more context see the discussion in the PR [1]. [1] #279 (comment)
Resolves PUB-925