-
Notifications
You must be signed in to change notification settings - Fork 811
Update mapping #6056
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update mapping #6056
Conversation
alina-tincas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @erikjanwestendorp thank you for the PR 🙌
All looks good except that somehow on v10 you have replaced 2 sentences with each other 🙈
10/umbraco-cms/reference/mapping.md
Outdated
| {% hint style="info" %} | ||
| UmbracoMapper replaced AutoMapper which was an external dependency. AutoMapper builds the mapping code dynamically, based upon mapping profiles, which are defined as C# expressions. UmbracoMapper relies on static code, i.e. mappings need to be hand-written. | ||
| UmbracoMapper was originally introduced to solve some issues in the Umbraco core code. However, it is fine for anyone to use in their custom site implementations or packages as they wish. | ||
|
|
||
| This is not to be confused with the [UmbracoMapper package by Andy Butland](https://our.umbraco.com/packages/developer-tools/umbraco-mapper) of the same name. | ||
| {% endhint %} | ||
|
|
||
| UmbracoMapper was originally introduced to solve some issues in the Umbraco core code, however it is totally fine for anyone to use in their custom site implementations or packages as they wish. | ||
| UmbracoMapper replaced AutoMapper which was an external dependency. AutoMapper builds the mapping code dynamically, based upon mapping profiles, which are defined as C# expressions. UmbracoMapper relies on static code, that is, mappings need to be hand-written. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to leave back the sentence with UmbracoMapper replaced AutoMapper in the hint note, as usually we list changes in hints note and in this case it makes sense to leave this in a hint note. Then with the sentence UmbracoMapper was originally introduced you can move this above the hint note or after the hint as it was💡
alina-tincas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
making those changes as it it only in 1 file
|
@alina-tincas Sorry! I completely forgot about this one 😅 |
|
No worries, I just noticed that I can also make the changes 🙈 🙌 |
Description
Update mapping:
Type of suggestion
Product & version (if relevant)
Umbraco CMS v10, 12, 13 & 14