MicroLite icon indicating copy to clipboard operation
MicroLite copied to clipboard

Support multiple mapping resolvers per session

Open TrevorPilley opened this issue 10 years ago • 0 comments

This will allow a mixture of convention and attribute based mapping plus any custom conventions defined by an end user. The resolution will work similar to how the routing works in ASP.NET WebApi e.g.

config.UseAttributeMapping();
config.UseConventionMapping(ConventionOptions.Default);

In this case, it would look for an attribute first, and then if one is not found, fall back to the conventions to resolve the mapping.

TrevorPilley avatar Sep 23 '15 09:09 TrevorPilley