Closed ErikApption closed 2 months ago
Sorry, will have to revert this as it changes default behavior. My bad, I missed it during PR review.
I could look at revising this pr to disable nullable support by default but any chances to consider changing the default in version 5? Working with files that are not generated by parquet.net is not intuitive without nullable support. There might be a compromise to limit issues and load null values into non nullable fields and simply show a warning.
This is a fix for bug #535. The current parquet.net doesn't leverage compiler nullable when checking if members are nullable. This affects all classes - so any
string
property was marked as nullable in the schema. This PR adds checks for Roslyn's annotations to ensure that a field is nullable.