Skip to content

Conversation

@erikjanwestendorp
Copy link
Contributor

Description

Update mapping:

  • Remove 'totally
  • Remove 'very'
  • Change 'various ' to 'multiple'
  • Remove 'various'
  • Change 'i.e.' tot 'that is'
  • Write shorter sentences

Type of suggestion

  • Styleguide

Product & version (if relevant)

Umbraco CMS v10, 12, 13 & 14

Copy link
Contributor

@alina-tincas alina-tincas left a 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 🙈

Comment on lines 9 to 15
{% 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.
Copy link
Contributor

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💡

Copy link
Contributor

@alina-tincas alina-tincas left a 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 alina-tincas merged commit 0c41fee into umbraco:main May 1, 2024
@erikjanwestendorp
Copy link
Contributor Author

@alina-tincas Sorry! I completely forgot about this one 😅

@erikjanwestendorp erikjanwestendorp deleted the update-mapping branch May 1, 2024 07:09
@alina-tincas
Copy link
Contributor

No worries, I just noticed that I can also make the changes 🙈 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants