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
@guisouza Yes, we are not applying it is nice improvement... I would also check if value is already instanceOf instance.schema[field].type.
And.... let's avoid the value override at the second line please, ahahaa, 😛
good point .. First of all, check if its already instantiated ..
Now thinking .. should we pop an error in cases which the constructor of a entity returned by the builder differs from the declared Type ?
Or when we have a custom builder, the Type is just a documentation, IMHO, No! after all we are passing the Type to every builder ..
Guys I really hope I am wrong, but i think we are not applying entity builders on setter, but only on entity construction ..
Is this the expected behaviour ? or it is a bug ?
@albertossilva could you please check, i have a fix for it, like this :
should I submit the PR ?
The text was updated successfully, but these errors were encountered: