Coalesce icon indicating copy to clipboard operation
Coalesce copied to clipboard

Allow for 'partially constructed' generics for UseDefaultDataSource/Behavior, or throw an exception when the arity of the implementation type doesn't match the service type.

Open ascott18 opened this issue 7 years ago • 0 comments

For example, it doesn't work currently to create class MyDataSource<T> : StandardDataSource<T,AppDbContext> and register it as a default data source.

Either find a way to make this work, or throw an exception when the arity of the implementation type doesn't align.

ascott18 avatar Jan 11 '18 18:01 ascott18