Skip to content

Conversation

@marcusorjames
Copy link

Improve callbacks by allowing multiple per item and allowing access to validation array within the callback.

This allows for multiple callback rules per item and also indexes the `ErrorBag`, which is helpful for identifying what validation failures exist.
This is specifically useful for callbacks where Rule is bound to the closure. As private/protected properties are not accessible in bound closures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant