nbarbettini / BeautifulRestApi

Beautiful REST API design with ASP.NET Core and Ion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mapping profile error with Link.To method

arminops opened this issue · comments

I'm not sure if i'm right but when using Automapper projection and use mapfrom in mapping profile we get an exception below:
The client projection contains a reference to a constant expression of 'Domain.Config.Link'. This could potentially cause a memory leak; consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.