Skip to content

is-array? throws exception on nil in clj #4

@timothypratley

Description

@timothypratley

A minor annoyance that causes an downstream issue:
(d/conn-from-datoms (d/datoms @*conn :eavt) schema) will fail on an empty database.
This is the recommended way to update a schema from DataScript documentation.
This in turn can be easily worked around by only using conn-from-datoms for non-nil.

However type checks typically shouldn't throw exceptions, so submitting a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions