At the moment Lamar is used to resolve collection types in methods of web api controllers, therefore the collections are always empty (no matter which values are available in the body of the request).
With this change Lamar will not be used to resolve collection types when the type (e.g IReadOnlyCollection --> UpdateCommand) is not explicitly registered, therefore the asp.net core model builder kicks in and the creates the collection (as expected).
At the moment Lamar is used to resolve collection types in methods of web api controllers, therefore the collections are always empty (no matter which values are available in the body of the request).
With this change Lamar will not be used to resolve collection types when the type (e.g IReadOnlyCollection --> UpdateCommand) is not explicitly registered, therefore the asp.net core model builder kicks in and the creates the collection (as expected).
This PR closes #391.