Skip to content

Handle invalid constraints #1

@yochannah

Description

@yochannah

Invalid constraints should throw an error before reaching the web service and 400ing.

Example:

Invalid constraint:

{:where {:id "BOB"}}

Valid:

    {:where [{:op "="
     :path "Gene.id"
     :value BOB}]}

currently, imcljs merely ignores invalid constraint properties and converts them to <constraint />. This will always 400 in InterMine webservices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions