Skip to content

make:factory fails when there is more than one level of embedded classes #608

Open
@rimas-kudelis

Description

When attempting to generate a factory for a class that has a protected property of Money\Money type, I get the following error:

In LegacyORMDefaultPropertiesGuesser.php line 73:

  Property App\Entity\MyEntity::$price.currency does not exist

I'm using Foundry version 1.37.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmaker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions