hugsql

curtis.summers 2019-08-12T11:56:32.023800Z

@rgm At a minimum, an exception upon encountering a second HugSQL query of the same name in the same HugSQL file makes sense to me. I guess where it gets a little trickier is if we wanted to throw an exception upon encountering a second definition in the same Clojure namespace (e.g. def-db-fns is called twice with two different files that have duplicated query names). Would you mind adding an issue for this? I think we can handle the first case easily: https://github.com/layerware/hugsql/issues

👍 1
rgm 2019-08-12T12:06:18.024400Z

here ya go … https://github.com/layerware/hugsql/issues/103

😄 1