dadhi / DryIoc

DryIoc is fast, small, full-featured IoC Container for .NET
MIT License
1.03k stars 122 forks source link

DryIocAttirbutes and DryIoc.MefAttributedModel are not `nullable` friendly #663

Closed abdes closed 3 weeks ago

abdes commented 3 weeks ago

The implementation in these two modules is not nullable compatible, and when the dependencies are added to a project with nullable enabled, they generate many C# errors.

Disabling nullable for the entire project is not an option.

Please either add the generated tag in the file header comments:

// <auto-generated />

Or, disable nullable checks with #nullable disable/enable, or update the code to become nullable compliant.

dadhi commented 3 weeks ago

Thanks for the info. Will look.

abdes commented 3 weeks ago

Thank you for the quick turnaround.