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 another package conflict to the list #46

Closed
petsoukos opened this issue Jul 11, 2023 · 1 comment
Closed

Add another package conflict to the list #46

petsoukos opened this issue Jul 11, 2023 · 1 comment

Comments

@petsoukos
Copy link

petsoukos commented Jul 11, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants