-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
First off, I love the flexibility that this library has. It's been quite beneficial for getting rid of specific uses of code in our systems.
There may be another way to do this, but from reading the documentation, I can't seem to figure out a way; I want to disallow all calls to Object->method
but only if the parameter is 'my-test-string'
. method
however can take a string, an array of values, or a destructured array of values. So I want disallowParamsAnywhere
, specifically for the destructured array case.
disallowParams
is a partial workaround, and will allow us to catch the obvious cases, but having support for catching them anywhere would be awesome!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request