threatgrid / asami

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

Delete database call fails schema return type #176

Closed marioaquino closed 3 years ago

marioaquino commented 3 years ago

The asami.core/delete-database fn declares that it will return a schema Bool value, but it is possible for that function to return nil, which violates return type declaration:

https://github.com/threatgrid/asami/blob/main/src/asami/core.cljc#L73-L86