Skip to content

Relationships cannot have the same name as properties #552

@Tigrov

Description

@Tigrov

https://github.com/yiisoft/active-record/pull/545/changes/BASE..dc1ccc01420b562a7c675b133c4e8847baa40fd6#diff-f5da40b4c254bf632726073a1f35900916d12a24d5d205d700df9fc95455363bR201-R213

Doesn't it look like a bug?
Either relationships cannot have the same name as properties, or unset() must remove both values.

Originally posted by @Tigrov in #545 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions