Closed creativehotspot closed 3 years ago
Thanks for the additional info. I can only surmise that something is not being loaded in Lumen that is required to run, or that another package is interfering. As mentioned in the other issues related to this problem, GeneaLabs\LaravelModelCaching\EloquentBuilder
is a class alias, and will evaluate properly, if this packages service provider is loaded.
You are correct - Lumen installation gotchas could be updated include registering the service manually in bootstrap/app.php
$app->register(GeneaLabs\LaravelModelCaching\Providers\Service::class);
@creativehotspot Awesome, glad you were able to get it working. :) I will add that note, thanks for letting me know (I don't use Lumen).
Describe the bug Illuminate\Database\Eloquent\Builder as EloquentBuilder was removed in https://github.com/GeneaLabs/laravel-model-caching/commit/69991b689e5ba9659e0af014a60bbcfc447029f2#commitcomment-45373442 however is not resolved by lumen framework.
Eloquent Query N/A
Stack Trace
Environment
Additional context As per https://github.com/GeneaLabs/laravel-model-caching/issues/376