Accenture / sfmc-devtools

Fast-track your developers and devops engineers by allowing them to programmatically copy-paste / deploy changes and work offline
https://www.npmjs.org/package/mcdev
MIT License
137 stars 35 forks source link

[TASK] ensure journey activities are always sorted the same way to make git comparison easier #1674

Closed JoernBerkefeld closed 1 month ago

JoernBerkefeld commented 1 month ago

sometimes, the activities get returned in the same order as before, and sometimes the order is completely different. that leads to misleading git diff views in merge requests / pull requests.

the order seems to be randomized when changes are made and even the activity ids get renewed. what stays the same is the activity key -- so lets sort by that when saving the json?

needs to be tested if it messes things up :D

github-actions[bot] commented 1 month ago

Closed by #1700.