Cumulocity-IoT / cumulocity-migration-tool

A Cumulocity webapp to migrate applications, dashboards, groups, devices, simulators, smart rules, images, and managed objects between tenants. Developed by Global Presales.
Apache License 2.0
18 stars 6 forks source link

chore: optimized "getIdPathsFromDashboard" #6

Open simlu opened 5 years ago

simlu commented 5 years ago

These should be equivalent. However significant faster (untested) and more readable :)

rpeach-sag commented 5 years ago

Thanks for the pull request! I'll merge your changes when I've had a chance to test them. Probably not for a few weeks.

BTW your library is super handy!

simlu commented 5 years ago

No worries. I just couldn't resist opening the PR as it was such an obvious optimization

Cheers! Always great to see other people using the tools I built! It's now our new swiss army knife for data manipulation... 😄