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
where we have columns that map to scalar values, and arrays that map to @HasMany(), foreign keys, etc. But what if our incoming payload looked like this, while our model structure stays the same:
Generally, we might expect a JSON payload that nicely maps to our model, like this:
where we have columns that map to scalar values, and arrays that map to
@HasMany()
, foreign keys, etc. But what if our incoming payload looked like this, while our model structure stays the same:Add an example model that can deal with this.
The text was updated successfully, but these errors were encountered: