settings: use the function option passing style for the register function #109011
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
We have too many variants of the
Register
functions with combinations of argument types.The validation and visibility for example could be specified by options in a variable-length argument list.
see: https://cockroachlabs.atlassian.net/wiki/spaces/CRDB/pages/1881669848/Go+function+argument+patterns
Epic: CRDB-28893
Jira issue: CRDB-30739
The text was updated successfully, but these errors were encountered: