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 found that in generated api controller update method you are using _.merge. I had to replace those to _.extend everywhere because it proved to me working better for complex models especially with list of sub schemas.
example of undesired behaviour using _.merge ( removed _ids )
I found that in generated api controller update method you are using _.merge. I had to replace those to _.extend everywhere because it proved to me working better for complex models especially with list of sub schemas.
example of undesired behaviour using _.merge ( removed _ids )
EXISTING:
BODY as received from request:
UPDATED:
Again, I am not sure what was your intention but _.extends seems to work better for me ;)
Thanks
-tk
The text was updated successfully, but these errors were encountered: