Stop Joker flagging some ns as unused

These are pulled into `next.jdbc` to extend/implement protocols only.
This commit is contained in:
Sean Corfield 2019-06-07 17:39:58 -07:00
parent 88fcaa5869
commit b4331146ff
2 changed files with 9 additions and 5 deletions

6
.joker
View file

@ -1 +1,5 @@
{:known-macros [next.jdbc/with-transaction]}
{:known-macros [next.jdbc/with-transaction]
:ignored-unused-namespaces [next.jdbc.connection
next.jdbc.prepare
next.jdbc.result-set
next.jdbc.transaction]}

View file

@ -42,11 +42,11 @@
* `:result-type` -- `:forward-only`, `:scroll-insensitive`, `:scroll-sensitive`,
* `:return-keys` -- either `true` or a vector of key names to return,
* `:timeout` -- the query timeout."
(:require [next.jdbc.connection] ; used to extend protocols
[next.jdbc.prepare] ; used to extend protocols
(:require [next.jdbc.connection]
[next.jdbc.prepare]
[next.jdbc.protocols :as p]
[next.jdbc.result-set] ; used to extend protocols
[next.jdbc.transaction])) ; used to extend protocols
[next.jdbc.result-set]
[next.jdbc.transaction]))
(set! *warn-on-reflection* true)