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

Using System.Text.Json for C# client generation causes warnings in combination with Nullable Reference Types #4963

Open
kev-andrews opened this issue Aug 16, 2024 · 1 comment · May be fixed by #4964

Comments

@kev-andrews
Copy link
Contributor

kev-andrews commented Aug 16, 2024

The generated JsonInheritanceConverter has two NRT warnings that could be surpressed with #pragma to prevent build warnings:

#pragma warning disable 8602 // Disable "CS8602 Dereference of a possibly null reference"
#pragma warning disable 8600 // Disable "CS8600 Converting null literal or possible null value to non-nullable type"

@kev-andrews
Copy link
Contributor Author

PR #4964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant