You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace Acme.Features.Widgets
{
public class Get
{
public class Command: ICommand<string>
{
// ...
}
public class CommandHandler : ICommandHandler<Command, string>
{
// ...
}
}
}
However, when trying to build I get:
FunctionMonkey.Compiler.targets(29, 5): Command Acme.Features.Widgets.Get+Command must be public
As you can see, the nested classes in question are public.
The text was updated successfully, but these errors were encountered:
@cocowalla I ran into this yesterday as well. It's a common structure that is used often with Mediatr so for my initial exploration of the integration with FunctionMonkey I started with that approach as well. Worked around it for now but agreed that would be great to have resolved.
I like to arrange things into feature folders (which is a popular way of doing things with Mediatr too), such as:
Get.cs
looks a bit like:However, when trying to build I get:
As you can see, the nested classes in question are public.
The text was updated successfully, but these errors were encountered: