Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Precognitive Requests #212

Open
AlexJezior opened this issue Nov 18, 2022 · 5 comments
Open

Add Support for Precognitive Requests #212

AlexJezior opened this issue Nov 18, 2022 · 5 comments
Labels
documentation Documentation needs updating help wanted Extra attention is needed

Comments

@AlexJezior
Copy link

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."
@Wulfheart
Copy link
Collaborator

Is it even released AND documented yet?

@AlexJezior
Copy link
Author

It has been released for a couple months now, official documentation is on its way.

@vinnygambiny
Copy link

Any update here?

@jameswagoner
Copy link

I documented a solution that seems to be working for me at the moment

@Wulfheart Wulfheart reopened this Oct 17, 2024
@Wulfheart Wulfheart added documentation Documentation needs updating help wanted Extra attention is needed labels Oct 17, 2024
@Wulfheart
Copy link
Collaborator

This should be documented in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation needs updating help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants