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
Is your feature request related to a problem? Please describe the problem.
I Have a Entity:
public class ProductEntity : AuditedEntity
{
public string Name { get; set; }
public ListProductEntityContent { get; set; }
}
public class ProductContent
{
public string? ProductCode { get; set; }
public string? ProductSpecification { get; set; }
public string? BatchCode { get; set; }
}
I use the code below to configure EFCore:
builder.Property(propertyInfo.Name).HasConversion(new AbpJsonValueConverter());
I encountered a warning while performing database migration:
The property 'ProductEntity.StockEntryRequestContent' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly.
And when I execute the update method, ProductEntityContent is not updated to the database.
After checking the official documentation of EFCore, I found that a Value Comparer is required, but the ABP framework does not provide it
Describe the solution you'd like
Expected to add an AbpJsonValue Comparer
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I Have a Entity:
public class ProductEntity : AuditedEntity
{
public string Name { get; set; }
public ListProductEntityContent { get; set; }
}
public class ProductContent
{
public string? ProductCode { get; set; }
}
I use the code below to configure EFCore:
builder.Property(propertyInfo.Name).HasConversion(new AbpJsonValueConverter());
I encountered a warning while performing database migration:
The property 'ProductEntity.StockEntryRequestContent' is a collection or enumeration type with a value converter but with no value comparer. Set a value comparer to ensure the collection/enumeration elements are compared correctly.
And when I execute the update method, ProductEntityContent is not updated to the database.
After checking the official documentation of EFCore, I found that a Value Comparer is required, but the ABP framework does not provide it
Describe the solution you'd like
Expected to add an AbpJsonValue Comparer
Additional context
No response
The text was updated successfully, but these errors were encountered: