nbarbettini / BeautifulRestApi

Beautiful REST API design with ASP.NET Core and Ion
Apache License 2.0
604 stars 144 forks source link

Mapping profile error with Link.To method #18

Open arminops opened 3 years ago

arminops commented 3 years ago

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.