Enable internal classes
To facilitate API design for assemblies, [GenerateAutomaticInterface] should take internal visibility into account. The interface can be useful for dependency injection without necessarily being part of the public API of an assembly.
I like it, can you do a few things:
- Add tests for all relevant cases (no modifies, public, private, internal, protected?) Ideally add another partial class for that, the current test class is a "little" long.
- Bump the version to next major - this is a breaking change
- Mention it in the readme
Thanks!
Sure thing
So, working on the broader topic, what would we want to have? Going over https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers:
- public and internal classes :heavy_check_mark:
- nested classes other than public/internal :question: , but I don't see the use case
Wrt. nested members:
- restrict to public within public classes :heavy_check_mark:
- public and protected in protected classes :question:
What are your thoughts on that?
Sorry, I was occupied :( After reading - i would say both question marks are out of scope for now. Let's start with the simple stuff...
Tests split, version bumped :)
Sorry, had several things on my plate those last few months. Still interested?
Yes! You need probably to rebase