-
-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Description
Description
Service and repository shorthand types (e.g. FooService : IResourceService<Foo>
) should also be registered. Currently, they are missing:
JsonApiDotNetCore/src/JsonApiDotNetCore/Graph/ServiceDiscoveryFacade.cs
Lines 110 to 116 in c1bf919
RegisterServiceImplementations(assembly, typeof(IResourceService<,>)); | |
RegisterServiceImplementations(assembly, typeof(ICreateService<,>)); | |
RegisterServiceImplementations(assembly, typeof(IGetAllService<,>)); | |
RegisterServiceImplementations(assembly, typeof(IGetByIdService<,>)); | |
RegisterServiceImplementations(assembly, typeof(IGetRelationshipService<,>)); | |
RegisterServiceImplementations(assembly, typeof(IUpdateService<,>)); | |
RegisterServiceImplementations(assembly, typeof(IDeleteService<,>)); |
The solution should also take #384 into consideration.