intermine / intermine/imcljs

Handle invalid constraints

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Clojure
Stars
3
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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 ``. This will always 400 in InterMine webservices.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.