You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I recently wanted to change the $createGroup argument. This is the last argument in a long-ish list of arguments. To solve this, I had to copy and paste all the default arguments when instantiating the handler. It now looks like:
Is your feature request related to a problem? Please describe.
I recently wanted to change the
$createGroup
argument. This is the last argument in a long-ish list of arguments. To solve this, I had to copy and paste all the default arguments when instantiating the handler. It now looks like:If the library changes the default value, my instantiation could easily go out of sync.
The values themselves are opaque (what is 14?) requiring me to add multiple inline comments.
Describe the solution you'd like
Allow passing an array of keywords to the constructor. For example:
This is self documenting and allows omitting default values.
This could be backwards compatible by checking the number and type of arguments and then acting accordingly.
The text was updated successfully, but these errors were encountered: