brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
314 stars 63 forks source link

Make sure view.compiled is correctly defined + tests #39

Closed afu-dev closed 3 years ago

afu-dev commented 3 years ago

Hello 👋

A problem reported by a laravel-bridge user on bref's Slack. This fix is to make sure the view.compiled variable is correctly defined and, if not, it's returning an understandable error.

I try to add to test case, BUT, I did not successfully reproduce the error encounter by the user. Laravel is throwing an error before I reach bref's Service Provider.

mnapoli commented 3 years ago

Thank you for the quick PR!