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

Enable nullable reference types #40

Open
RyanLua opened this issue Nov 19, 2024 · 0 comments
Open

Enable nullable reference types #40

RyanLua opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RyanLua
Copy link
Owner

RyanLua commented Nov 19, 2024

Description

Since Fluent Auto Clicker's codebase is pretty small, it is recommended to add nullable reference types since it would require minimal work and allow improved diagnostics.

To achieve this, you can add the below Nullable option to the FluentAutoClicker.csproj and then address warnings.

<Nullable>enable</Nullable>

Supporting information

https://learn.microsoft.com/en-us/dotnet/csharp/nullable-migration-strategies
https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/language#nullable

@RyanLua RyanLua added the enhancement New feature or request label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant