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
Which when using the ef core Add(..) or Update(..) methods correctly serializes the nested object to json and stored.
But using Upsert(...) the resulting sql does not produce the error_details column.
When i look at the ef core EntityType model, the error_details is not listed in the GetProperties(), so I don't know where it is meant to be fetched from.
The text was updated successfully, but these errors were encountered:
I took a peek at it, and it looks as the ToJson() columns are treated very differently, almost as a relationship of some kind. To properly handle them, it would be needed to dig deeper into EF Core's code, and pull out the code they use to serialise this data into JSON, as I'm not sure if just passing an object would work, as it did before.
Unfortunately I didn't work with these columns, and don't have the time myself for that deep investigation, but would appreciate any help on this
My postgresql database has:
In my model i have:
Which when using the ef core Add(..) or Update(..) methods correctly serializes the nested object to json and stored.
But using Upsert(...) the resulting sql does not produce the error_details column.
When i look at the ef core EntityType model, the error_details is not listed in the GetProperties(), so I don't know where it is meant to be fetched from.
The text was updated successfully, but these errors were encountered: