daver32 / InterfaceGenerator

A simple source generator that creates interfaces by implementations.
MIT License
36 stars 14 forks source link

Add nullable context #26

Closed ThierryRosseau closed 6 months ago

ThierryRosseau commented 7 months ago

Add nullable context to generated interface to fix 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' directive in source. 
ThierryRosseau commented 7 months ago

@daver32 @adamhathcock Can this be validated and merged if possible with a new build? Thx very much

adamhathcock commented 7 months ago

I don't have access to this repo but I'd add it if I could.

Lack of nullability is holding this back