threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
634 stars 29 forks source link

Loosen restriction on matching vars in disjunctions #208

Closed mpoffald closed 3 years ago

mpoffald commented 3 years ago

The restriction on matching vars on both sides of or clauses is proving to be a bit too strict for real-life Asami use cases, and users are working around it frequently (eg by writing multiple queries, or using optionals). Given that optional already allows for nils, we can safely loosen this restriction.

mpoffald commented 3 years ago

Completed by #213