zap icon indicating copy to clipboard operation
zap copied to clipboard

TODO: make Router more strict wrt types of handler functions

Open renerocksai opened this issue 1 year ago • 0 comments

e.g. avoid silently accepting handler functions that want to return an error which leads to unexpected pointer issues. at least comptime-introspect and check if 2nd param (the one after self) is zap.Request and if return type is void as opposed to !void or sth totally different.

renerocksai avatar Jul 25 '24 17:07 renerocksai