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
{{ message }}
Repository navigation
Commit b4edf61
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .claude/skills/uts-to-kotlin/references/objects-mapping.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ live in **`io.ably.lib.liveobjects.path.types`** (not `.path`) — import them f
104
104
| Spec / ably-js | ably-java |
105
105
|---|---|
106
106
|`pathObj.path()`|`pathObj.path(): String`|
107
-
|`pathObj.instance()`|`pathObj.instance(): Instance?` (null if path resolves to a primitive, or doesn't resolve) |
107
+
|`pathObj.instance()`|`pathObj.instance(): Instance?` (wraps any resolved value incl. primitives per `RTPO8f`; null only when the path doesn't resolve) |
|`pathObj.compact()`|**Not implemented in ably-java** (`RTTS3f`: typed SDKs need not implement `compact`). Use `compactJson()` for snapshot assertions; if a spec genuinely needs the non-JSON `compact()` shape, that's a deviation — flag it. |
| write where value isn't the required type |`AblyException` 400 / code `92007`|
475
475
|`get()` / op when channel lacks the object mode (`RTO23a`/`RTO2a2`) |`AblyException` 400 / code `40024`|
476
-
|`get()` / access when channel is DETACHED or FAILED (`RTO23b`/`RTO25`) |`AblyException` 400 / code `90001`|
476
+
| access methods (`on`/`off`/`offAll`) when channel is DETACHED or FAILED (`RTO25b`) |`AblyException` 400 / code `90001`|
477
+
|`get()` when channel is FAILED (`RTO23e`/`RTL33c`) |`AblyException` 400 / code `90001`. **But `get()` on a DETACHED channel does *not* throw** — ensure-active-channel re-attaches and `get()` resolves (`RTO23e`/`RTL33b`); only the access methods above gate on DETACHED |
0 commit comments