sqlite-net icon indicating copy to clipboard operation
sqlite-net copied to clipboard

Support C# nullable references

Open CodingOctocat opened this issue 1 year ago • 0 comments

Now in C#8+, the project has NRT enabled by default: <Nullable>enable</Nullable>, should sqlite-net enable [NotNull] by default? Maybe it can be added:

  • Sqlite.UseNullableTypesMetadata = true // global not null for properties
  • [CanBeNull] attribute // not null property but can be null in database

CodingOctocat avatar Jun 09 '24 01:06 CodingOctocat