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

Keep same nullable context as implementation #16

Open
fjmorel opened this issue Feb 1, 2023 · 0 comments · May be fixed by #18
Open

Keep same nullable context as implementation #16

fjmorel opened this issue Feb 1, 2023 · 0 comments · May be fixed by #18

Comments

@fjmorel
Copy link

fjmorel commented Feb 1, 2023

If possible, it would great if the nullable context (off, annotations, on) could be set per item on the interface to match whatever has been set on the implementation with #nullable enable and the like.

Right now, if I set something to a nullable reference type, I get a build warning.

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable'

@adamhathcock adamhathcock linked a pull request Feb 28, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant