Skip to content

Add Support for Precognitive Requests #212

Open
@AlexJezior

Description

@AlexJezior

Laravel recently introduced (v9.33) new functionality to help validate the frontend with precognitive requests.
See here: laravel/framework#44339

Issue:
When trying to incorporate this with actions as a controller, you get the following exception:

file: "/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Routing/PrecognitionControllerDispatcher.php"
line: 43
message: "Attempting to predict the outcome of the [Lorisleiva\\Actions\\Decorators\\ControllerDecorator::asController()] method but the method is not defined."

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation needs updatinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions