Hello,
I have begun to update my project from RB3 to RB4.
With RB3 I was using R::graph() a lot with enableBeanLoading, filterEmpty set to TRUE. Especially enableBeanLoading = TRUE was very useful to me,
because my HTML form just had a checkbox with an "id" of a sharedBean to establish a relation.
With the enableBeanLoading = TRUE a bean was loaded by graph and validations went on, but now with R::dispense()
such a bean (with an id set) wasn't loaded beforehand, thus the bean is empty and will fail in my validations.
In line 161 a loop starts to display all team beans as optional sharedTeam beans of the user bean.
Hope this gives a hint at what I aim at?!
I realize that I could still use Cooker as plugin in RB4, but I would like not to.
Is there a way to achieve at least enableBeanLoading with the R::dispense( $beanFromArray ) in RedBeanPHP 4?