8000 Reverse relation of HasMany is not loading · Issue #518 · cycle/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Reverse relation of HasMany is not loading #518
Open
@shanginn

Description

@shanginn

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

User has many Subscriptions
Subscription has user_id

there might be a situation when $subscription->user is set, but $subscription->user->subscriptions is empty.

here is a repo with reproduction and the Test Case

Version

ORM 2.10.1
PHP 8.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0