cayleygraph / cayley

An open-source graph database
https://cayley.io
Apache License 2.0
14.83k stars 1.25k forks source link

Return error when calling filter() with a wrong type in Gizmo #849

Closed dennwc closed 4 years ago

dennwc commented 4 years ago

We were not checking the argument type for filter() correctly. This PR adds this check. But if we want to accept string values, we will need another change, similar to how has() is implemented.

Fixes #833


This change is Reviewable