Skip to content

HasManyDeep::one() Doesn't Seem To Work As Expected #249

Closed
@MannikJ

Description

@MannikJ

I encountered errors when trying to convert a HasManyDeep relation to a HasOneX relation although the HasManyDeep relation itself works. The "one"-relation uses wrong column names etc.

In fact the first thing I noticed was that HasManyDeep::one() will return a HasOneThrough relation instead of HasOneDeep as I would expecet. The reason for this is that HasManyDeep does not (yet) overwrite the implementation of the one() function from its parent class HasManyThrough.

Maybe this feature was just overseen or not yet implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions