Skip to content

Auto-Discovery Should Register Shorthand Types #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaredcnance opened this issue Sep 4, 2018 · 0 comments
Closed

Auto-Discovery Should Register Shorthand Types #394

jaredcnance opened this issue Sep 4, 2018 · 0 comments
Labels
Milestone

Comments

@jaredcnance
Copy link
Contributor

Description

Service and repository shorthand types (e.g. FooService : IResourceService<Foo>) should also be registered. Currently, they are missing:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant