Skip to content

Trait method newEloquentBuilder has not been applied, because there are collisions with other trait methods #17

Open
@aletundo

Description

@aletundo

I'm using 1.0.0 version of your package together with sofa/eloquence:^5.4.
I thought the error in the title was fixed using:
use SpatialTrait { Eloquence::newEloquentBuilder insteadof SpatialTrait; SpatialTrait::newEloquentBuilder as newEloquentSpatialBuilder; }
because the Eloquence methods I'm using works well.

But now, I'm trying to update the location field of my model using the Point class without success. The exeception is: SQLSTATE[22003]: Numeric value out of range: 1416 Cannot get geometry object from data you send to the GEOMETRY field.

Any idea to fix this collision without impact on the functionalities? I really need both packages.
I'm going to open an issue to Eloquence package too.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions