Skip to content

> 0.10.2: error[E0119]: conflicting implementations of trait #1287

@frederikhors

Description

@frederikhors

Description

Using unfortunately on a new PC the new [email protected] instead of 0.10.2 I get the below error with the same PG schema.

I cannot publish code because of NDA.

Actual Behavior

It gives this error after generation:

error[E0119]: conflicting implementations of trait `sea_orm::Related<generated::tenant::Entity>` for type `generated::player::Entity`
   |
63 | impl Related<super::tenant::Entity> for Entity {
   | ---------------------------------------------- first implementation here
...
69 | impl Related<super::tenant::Entity> for Entity {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `generated::player::Entity`

Versions

Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-orm v0.10.5
Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-orm-macros v0.10.5 (proc-macro)
Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-query v0.27.2
Ôöé   Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-query-derive v0.2.0 (proc-macro)
Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-query-binder v0.2.2
Ôöé   Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-query v0.27.2 (*)
Ôöé   Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-strum v0.23.0
Ôöé   Ôöé   Ôöé   Ôöé   ÔööÔöÇÔöÇ sea-strum_macros v0.23.0 (proc-macro)
Ôöé   Ôöé   ÔööÔöÇÔöÇ sea-orm v0.10.5 (*)
Ôöé   Ôöé   Ôö£ÔöÇÔöÇ sea-orm v0.10.5 (*)
Ôöé   Ôö£ÔöÇÔöÇ sea-orm v0.10.5 (*)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions