Make sure namespaces that use monger.gridfs/make-input-file don't have to import GridFSInputFile

This commit is contained in:
Michael S. Klishin 2012-06-04 13:24:58 +04:00
parent ceb60fdb54
commit d79e35790f

View file

@ -65,12 +65,12 @@
([]
(map converter (all-files)))
([query]
(map converter (all-files query)))
(map converter (all-files (to-db-object query))))
([^GridFS fs query]
(map converter (all-files fs query))))
(map converter (all-files fs (to-db-object query)))))
(defprotocol GridFSInputFileFactory
(^GridFSInputFile make-input-file [input] "Makes GridFSInputFile out of the given input"))
(^com.mongodb.gridfs.GridFSInputFile make-input-file [input] "Makes GridFSInputFile out of the given input"))
(extend byte-array-type
GridFSInputFileFactory