metabase / toucan

A classy high-level Clojure library for defining application models and retrieving them from a DB
Eclipse Public License 1.0
570 stars 49 forks source link

apply-type-fns should give better error message if type does not exist #66

Open camsaul opened 5 years ago

camsaul commented 5 years ago

Right now it just throws confusing NullPointerException.

marksto commented 2 years ago

@camsaul it gives java.lang.IllegalArgumentException - No implementation of method: :types of protocol: #'toucan.models/IModel found for class: clojure.lang.PersistentArrayMap at the moment, which seems quite straightforward. Should this issue be closed then?