EntityFrameworkCore.Generator icon indicating copy to clipboard operation
EntityFrameworkCore.Generator copied to clipboard

Postgres' real[] breaks generated code

Open Thundernerd opened this issue 1 year ago • 0 comments

I have a table with a column of real[] data type in my Postgres database, and whenever I generate the entity code for it it generates broken code.

An example: Column named Splits of type real[] Generated code:

public System.Collections.Generic.List`1[[System.Single, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]? Splits { get; set; }

My proposal would be that it generates this instead

public System.Collections.Generic.List<System.Single>? Splits { get; set; }

Thundernerd avatar May 25 '24 10:05 Thundernerd