Skip to content

How to extend datascript-transit serialization types? #7

Open

Description

@theronic

When I try to write a cljs-time object, I get "Error: Cannot write". E.g.

[#datascript/Datom [15 :message/thread 14 536870921 true] #datascript/Datom [15 :message/timestamp #object[Object 20190929T091725] 536870921 true] #datascript/Datom [15 :message/text "arstarst" 536870921 true]]
image

How can I extend de-/serialization capabilities of datascript-transit to work with more types?

Activity

  1. tonsky commented on Oct 1, 2019

    @tonsky
    Owner

    Add transit handlers for cljs-time objects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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