I've setup a ServiceStack api using the built-in Funq IoC container to resolve my repositories. However, when I call an api method, I get the following exception:
Required dependency of type System.Boolean could not be resolved.
Last time I checked System.Boolean didn't require any resolving. I've registered my repositories in the AppHost Configure as follows:
container.RegisterAutoWiredAs<OrganisationRepository, IOrganisationRepository>().ReusedWithin(ReuseScope.Request);
This is my first time using ServiceStack or Funq. Am I doing anything wrong? Is there a way around this?