Skip to content

Provide API for easy service/repo registration #384

Closed
@jaredcnance

Description

@jaredcnance

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions