layerware / hugsql

A Clojure library for embracing SQL

Home Page:https://hugsql.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add basic arglists metadata to generated fns

j0ni opened this issue · comments

the :arglists function metadata is used by mocking frameworks such as CircleCi's bond toolkit to determine whether the correct number of arguments has been supplied at runtime.

One could argue that we shouldn't be mocking generated functions (in fact I would argue that), but code exists which does, and I don't see any particular reason to avoid supporting that use case.

e5e4f92 adds this and it will ship in 0.5.0 soon.

This is released in 0.5.0.