Would you accept a patch that would throw an error via a pre-condition (so it can be removed in production builds with no perf hit) if a user passes in a db/conn that supports deref to d/q, d/entity, or d/pull? It would help new users in particular when they forget to deref the db, and end up with an error saying Uncaught Error: [object Object] is not ISeqable
Would you accept a patch that would throw an error via a pre-condition (so it can be removed in production builds with no perf hit) if a user passes in a db/conn that supports
deref
tod/q
,d/entity
, ord/pull
? It would help new users in particular when they forget to deref the db, and end up with an error sayingUncaught Error: [object Object] is not ISeqable