JamesRandall / FunctionMonkey

Write more elegant Azure Functions with less boilerplate, more consistency, and support for REST APIs. Docs can be found at https://functionmonkey.azurefromthetrenches.com
MIT License
294 stars 50 forks source link

Make ClaimsMappingBuilder support inheritance #99

Open alexeymarkov opened 5 years ago

alexeymarkov commented 5 years ago

`interface IBaseCommand { string ContextId { get; set; } }

class MyCommand : IBaseCommand { string ContextId { get; set; } string Name { get; set; } }

.MapClaimToCommandProperty("ContextId", x => x.ContextId) `

If you are agree that could be helpful I will provide a PR.

JamesRandall commented 4 years ago

That sounds useful - thanks.