Skip to content
New issue

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

Support C# nullable references #1230

Open
CodingOctocat opened this issue Jun 9, 2024 · 0 comments
Open

Support C# nullable references #1230

CodingOctocat opened this issue Jun 9, 2024 · 0 comments

Comments

@CodingOctocat
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant