Closed
Description
Description
services.AddResourceService<FooService>();
should register any applicable forms:
services.Add<IResourceService<Foo>, FooService>();
services.Add<IResourceService<Foo, int>, FooService>();
services.Add<IGetAllService<Foo>, FooService>();
services.Add<IGetAllService<Foo, int>, FooService>();
// ...
It should also handle services with mappings:
services.Add<IResourceService<Foo, Bar, int>, FooService>();
This API may be usable by the service discovery pipeline