Allow Sourceable to be overridden via metadata

This commit is contained in:
Sean Corfield 2019-04-01 23:22:59 -07:00
parent f217e86038
commit 4b81a42b4d

View file

@ -29,8 +29,8 @@
(set! *warn-on-reflection* true)
(defprotocol Sourceable
(get-datasource ^javax.sql.DataSource [this]))
(defprotocol Sourceable :extend-via-metadata true
(get-datasource ^javax.sql.DataSource [this] "Turn this into a javax.sql.DataSource."))
(defprotocol Connectable
(get-connection ^java.lang.AutoCloseable [this opts]))
(defprotocol Executable