Skip to content

eager loading is not working with base model have same foreign key #537

@jihunleekr

Description

@jihunleekr

Eager loading is not working when books belongs to same author.

I wrote a test code.

https://github.com/jihunleekr/php-activerecord/commit/fd3d56047fef560f0e17a17a90d06685ee506c24

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