staudenmeir / laravel-cte

Laravel queries with common table expressions
MIT License
535 stars 40 forks source link

Add another package conflict to the list #46

Closed petsoukos closed 1 year ago

petsoukos commented 1 year ago

After requiring the package (via dependency from laravel-adjacency-list) my test suite stopped working throwing me an issue about geometry column types. It seems having this package with grimzy/laravel-mysql-spatial conflicts because both try to set the singleton 'db.factory'.

$this->app->singleton('db.factory', function ($app) {
    return new ConnectionFactory($app);
});

Any ideas how to solve this? I need both packages.

staudenmeir commented 1 year ago

Hi @petsoukos, Please share the whole exception with its stacktrace. What is the failing test testing?