Skip to content

Trying to lazy load on new entities #16

@Zuluru

Description

@Zuluru

Is there a good reason why LazyLoadEntityTrait::_lazyLoad doesn't short-circuit and return null immediately if $this->isNew()? My use case where this causes problems is perhaps a bit obscure, but I don't see an obvious downside to including this test.

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