AutoMapper / AutoMapper.Extensions.OData

Creates LINQ expressions from ODataQueryOptions and executes the query.
MIT License
140 stars 38 forks source link

Fix expand with nested filer on model without default constructor #217

Closed TimS95 closed 2 weeks ago

TimS95 commented 3 weeks ago

When using an expand query with nested filter in combination with a model without a default constructor, it's currently throwing an ArgumentException. This PR updates the ProjectVisitor to also handle models without default constructor and is passing the arguments.

BlaiseD commented 2 weeks ago

Thanks