Skip to content

Serialize pagination cursors for external consumers #19

@theronic

Description

@theronic

This would just be a convenience enhancement because for external consumers, it's easier to receive / send strings over the wire, esp. when they don't care about the conetnts. For now, can use pr-str / EDN read-string.

Can be as simple as ":" e.g. "server:123"

base/Cursor is currently a map of {:keys [path-index resource-id]}. Internally could be {:keys [:path :id]} and stringify in the Spice impl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions