You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a list of generated objects of an entity. Each object has different properties and can use different factories, but it doesn't matter. The second entity uses the result of the first one. It works correctly. But applying the same way for the third entity doesn't work.
# sourceEntityOne:
one_{case_1}:
__construct:
val: 1name: <current()>one_{case_2}:
__construct:
val: 2name: <current()>one_diff_{case_3}:
__construct:
val: 3name: <current()>one_diff_{case_4}:
__construct:
val: 4name: <current()># it worksEntityTwo:
two_{@one_diff_*}:
__construct:
parent: <current()># it doesn't work and throws an exception like Could not find the fixture "two_New one". EntityThree:
three_{@one_diff_*}:
__construct:
parent: <current()>another_parent: '@two_<current()>'
I've found a workaround to fix it through using EntityTwo and its parent. But I expected that the previous one helped me.
I have a list of generated objects of an entity. Each object has different properties and can use different factories, but it doesn't matter. The second entity uses the result of the first one. It works correctly. But applying the same way for the third entity doesn't work.
I've found a workaround to fix it through using EntityTwo and its parent. But I expected that the previous one helped me.
The text was updated successfully, but these errors were encountered: