Skip to content

cider.nrepl.middleware.test/print-object always calls deep-sorted-maps which assumes the object can be used with postwalk #947

@SohoPak

Description

@SohoPak

Some objects (Datomic entity in my case) cannot be used with postwalk and will throw. A call to postwalk should be wrapped in try catch with catch implementing a fallback (perhaps returning the unsorted object if it does not break the code that uses the sorted object afterwards).

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