You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot convert source type 'System.Collections.Generic.List<A>' to target type 'System.Collections.Generic.List<B>
If I include the following additional extension for WithSpecification I can make this work (well it compiles, I have not fully tested this yet). Does it make sense to include an override of WithSpecification that builds on Specification<S,R> so that you can use Select?
I'm not sure if this is a good solution or if I am just missing something.
The text was updated successfully, but these errors were encountered:
ryanvade
changed the title
Unable to use WithSpecification with Specification<S,R> that is the result of Select
Unable to use WithSpecification on Specification<S,R> that is the result of Select
May 23, 2022
If I use
Select
as in the following specification I am unable to useWithSpecification
because the types cannot be inferred.And then attempt to use it as follows
I receive the following error:
If I include the following additional extension for
WithSpecification
I can make this work (well it compiles, I have not fully tested this yet). Does it make sense to include an override ofWithSpecification
that builds onSpecification<S,R>
so that you can useSelect
?I'm not sure if this is a good solution or if I am just missing something.
The text was updated successfully, but these errors were encountered: