Closed sniffdk closed 4 years ago
Thanks again Mads, we're looking into it!
This issue is now fixed in PR #7470 by renaming the Umbraco.ModelsBuilder.Embedded version of Value(...)
to ValueFor(...)
:
Closing this one - fixed (final fix) in 8.5.3 😄
@nul800sebastiaan This one should be flagged as braking change name of Extension method was changed, which means we break code which was using that.
Okay, done.
The IPublishedContent .Value extension method that takes an Expression<Func<TModel, TValue>> parameter is duplicated in the new embedded ModelsBuilder. Due to them being in the same namespace, there is an ambiguous call between the two, as the method signatures are identical. Screenshots below: