We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6870f5 commit b17f8f5Copy full SHA for b17f8f5
src/JsonApiDotNetCore/Configuration/TypeLocator.cs
@@ -89,7 +89,7 @@ internal sealed class TypeLocator
89
private static (Type implementationType, Type serviceInterface)? GetContainerRegistrationFromType(Type nextType, Type unboundInterface,
90
Type[] interfaceTypeArguments)
91
{
92
- if (!nextType.IsNested)
+ if (!nextType.IsNested && !nextType.IsAbstract && !nextType.IsInterface)
93
94
foreach (Type nextConstructedInterface in nextType.GetInterfaces().Where(type => type.IsGenericType))
95
0 commit comments