-
### Bug description
I wanted to use the two Event Listeners, but they are not triggering.
### How to reproduce
Here is the implementation:
```
class AppServiceProvider extends ServiceProvider
{…
-
I want to be able to do something like this in my controllers:
``` php
$users = User::with($eagerLoads)->get();
```
In my transformers, I want to be able to use both $defaultIncludes and $availableI…
-
This _might_ be a bug, but I'm submitting it as an idea since there are a few possible solutions. Once I receive some directional feedback from the core team, I am glad to open a PR for the change.
…
-
Reading through @reinink's post on [Dynamic Relationship](https://reinink.ca/articles/dynamic-relationships-in-laravel-using-subqueries), I was wondering whether it would make sense and/or be possible…
-
**Describe the bug**
I have the following type:
```graphql
type User @modelClass(class: "App\\Models\\User") {
id: ID!
donations(
type: String = "charge" @where(key: "donations…
-
# Describe the bug
I am attempting to use a [Laravel Observer](https://laravel.com/docs/8.x/eloquent#observers) to perform an action on the `Creating` and/or `Created` step of a models lifecycle. I…
-
I am trying to pull data from 2 tables in mysql into one datatable but cannot seem to get it working my thinking thus far has been :
```
public function instances(){
$query = EC2Instance::select('in…
-
## The Problem
Currently you can't have more than one polymorphic relationship against a single "type" of model at a time. I propose some how the option to include an optional "group" to the `morph…
-
Global search failing because EagerLoads collection contains relation names in CamelCase, whereas the founction is passing in the actual table name from the column name. e.g.
column name = child_t…
-
Hello,
I have a model that I use a custom collection with, to do some aggregations and such. Currently, I have to set my return typehint to `\Illuminate\Database\Eloquent\Collection` instead of my …