Fixes route guessing behavior when using form requests. This is technically a breaking change, but I'm considering it a bug fix since the expected behavior is that it works like it does when using inline form validations (closes https://github.com/hotwired-laravel/turbo-laravel/issues/104)
Added
Adds the ability for users to add exceptions to the redirect route guessing behavior in turbo-laravel.redirect_guessing_exceptions. In future versions, I plan to publish a middleware to the application that extends the base middleware from the package and the exceptions will be added the app's TurboMiddleware. For now, I'll go with the config approach.
Removed
Inlines the route guessing pattern instead of injecting a RouteRedirectGuesser
Fixed
Added
turbo-laravel.redirect_guessing_exceptions
. In future versions, I plan to publish a middleware to the application that extends the base middleware from the package and the exceptions will be added the app'sTurboMiddleware
. For now, I'll go with the config approach.Removed
RouteRedirectGuesser