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
But how do we add the valueconverter for serialization on the property? i.e. for a custom serializartion (e.g. nodatime) we need to add serializers.
this was done on HasConversion before.
We cannot "OwnsOne" and Property on modelling, as this gives:
Unable to create a 'DbContext' of type 'E2EJourneyPlanningDbContext'. The exception 'The property or navigation 'PartiesPayload' cannot be added to the 'ServicePlanEntity' type because a property or navigation with the same name already exists on the 'ServicePlanEntity' type.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
So where do we add the client side serializers plz :-)
The text was updated successfully, but these errors were encountered:
Hi. Awesome package. Thank you.
According to https://www.npgsql.org/efcore/mapping/json.html?q=tojson&tabs=data-annotations%2Cpoco
we should now use OwnsOne/OwnsMany + ToJson for the json mapping.. Like e.g.
But how do we add the valueconverter for serialization on the property? i.e. for a custom serializartion (e.g. nodatime) we need to add serializers.
this was done on HasConversion before.
We cannot "OwnsOne" and Property on modelling, as this gives:
Unable to create a 'DbContext' of type 'E2EJourneyPlanningDbContext'. The exception 'The property or navigation 'PartiesPayload' cannot be added to the 'ServicePlanEntity' type because a property or navigation with the same name already exists on the 'ServicePlanEntity' type.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
So where do we add the client side serializers plz :-)
The text was updated successfully, but these errors were encountered: