Skip to content
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

Feature proposal: sorting keys by logical blocks #10089

Merged
merged 2 commits into from
Nov 25, 2021

Conversation

andrey-helldar
Copy link
Contributor

In continuation of the discussion, this PR was created.

Only the order of the elements has been changed. Codestyle has remained the same.

@stof
Copy link
Contributor

stof commented Oct 20, 2021

Once the order is agreed on, the dumper should probably be updated to use the same order

@andrey-helldar
Copy link
Contributor Author

Dumper ok, i can.

@andrey-helldar
Copy link
Contributor Author

Just attaching the #10073 discussion so as not to search :)

PS: I will make changes in the coming days.

@andrey-helldar
Copy link
Contributor Author

@stof, now I look at the dumper code and understand that there is no point in making changes to it.

If you configure the dumper so that it stores the keys in the order we need, then it will have to be completely rewritten.

On the one hand, this can be done, and on the other, you can use the normalizer. ¯_(ツ)_/¯

@Seldaek Seldaek merged commit 613526b into composer:main Nov 25, 2021
@Seldaek
Copy link
Member

Seldaek commented Nov 25, 2021

OK, seems fine to me, thanks. I agree shifting the whole dumper code isn't really worth it.

@andrey-helldar
Copy link
Contributor Author

Thank you

@localheinz
Copy link
Contributor

Thank you, @andrey-helldar!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants