auth0-deploy-cli icon indicating copy to clipboard operation
auth0-deploy-cli copied to clipboard

Sorted object dumps

Open RenoMeyer opened this issue 2 months ago • 1 comments

Checklist

Describe the problem you'd like to have solved

Hey guys, I noticed that some of the outputs from your export command are sorted in various manners.

For example the custom-text.json is sorted based on the enabled_locales in the tenant.json. As I have a multi-tenant project with different default locales, the exports differ depending on which tenant I use (while the translations should be the same except some keyword replacements).

Another example is that action secrets which are listed in the order they've been added/edited. Since this is a manual process (as far as I understand), the order can easily differ from tenant to tenant.

Describe the ideal solution

I think both these examples could be easily solved by running an alphabetical sort over the json files before outputting from the export. The partial.json already seem to follow such a pattern if I'm not mistaken.

Thanks for your consideration and your awesome product!

Alternatives and current workarounds

No response

Additional context

No response

RenoMeyer avatar Oct 24 '25 14:10 RenoMeyer

Thanks for the feature request! Great suggestion! We will evaluate how to incorporate it. 🤝

kushalshit27 avatar Oct 26 '25 02:10 kushalshit27