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
For array and hash filters, it's invalid to set defaults on nested attributes. However, we don't catch that error until you call run. As noted in the specs, we should raise an error when the class is defined.
For instance, this code should raise an ArgumentError:
For array and hash filters, it's invalid to set defaults on nested attributes. However, we don't catch that error until you call
run
. As noted in the specs, we should raise an error when the class is defined.For instance, this code should raise an
ArgumentError
:As it is, you'd have to call
InvalidInteraction.run(a: [])
to get that to fail.The text was updated successfully, but these errors were encountered: