We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a POCO with a list of base objects, say:
public class POCO { public List<BaseType> Values { get; set; } }
BaseType and Derived objects are decorated with e.g. [JsonDerivedType(typeof(InheritedType1), 1)]
If I configure my entity with:
builder .Property(b => b.Entity) .HasColumnType("jsonb");
all derived properties are written, but with
builder.OwnsOne(rd => rd.Entity, r => { r.ToJson(); r.OwnsMany(d => d.Values); });
only BaseType properties are written
The text was updated successfully, but these errors were encountered:
Duplicate of dotnet/efcore#27779
Sorry, something went wrong.
This is a limitation on the EF side, not related to the PG provider.
No branches or pull requests
I have a POCO with a list of base objects, say:
BaseType and Derived objects are decorated with e.g. [JsonDerivedType(typeof(InheritedType1), 1)]
If I configure my entity with:
all derived properties are written, but with
only BaseType properties are written
The text was updated successfully, but these errors were encountered: