hugsql

rgm 2019-08-11T14:06:03.017500Z

Is there a way to set hugsql.core/def-db-fns to throw an exception when a generated function gets re-defined? So far my approach to having the team not clobber each other’s definitions through inattention is to keep the functions alphabetically sorted, so that there’ll be a function already there when the obvious name occurs to someone (eg. insert-thing). But I think I’d prefer to just break the build.

rgm 2019-08-11T14:07:07.018700Z

I’ve had a couple of head-scratcher CI failures, and while the ultimate solution is human care and attention, it’d also be nice if it failed fast before it leaves someone’s laptop.