Skip to content

Add *Value helper accessors in PrimitivePathObject and PrimitiveInstance #2244

Description

@maratal

Add *Value helper accessors in PrimitivePathObject and PrimitiveInstance to avoid long resolution path like:

let value = try root.get(key: "myKey").asPrimitive().value()?.stringValue

Should be:

let value = try root.get(key: "myKey").asPrimitive().stringValue().

https://ably.atlassian.net/browse/AIT-1330

Originally posted by @maratal in https://github.com/ably/ably-cocoa/pull/2243#discussion_r3804602675

┆Issue is synchronized with this Jira Task by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions