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

fix(docs): make sure that mapped properties are sorted properly #7797

Conversation

machi1990
Copy link
Member

Use the config phase comparator even for mapped properties to make sure that config items in a Map
are sorted in correct ordering - build time items first and runtime items at the end

Fixes #7781

Use the config phase comparator even for mapped properties to make sure that config items in a Map
are sorted in correct ordering - build time items first and runtime items at the end

Fixes quarkusio#7781
@machi1990
Copy link
Member Author

@gsmet can you try this? I checked the output and it should be okay but would need a second eye.

@gsmet gsmet marked this pull request as ready for review March 12, 2020 12:00
Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did fix my issue.

@machi1990
Copy link
Member Author

Thanks @gsmet for taking a look and for the review.

@gsmet
Copy link
Member

gsmet commented Mar 12, 2020

Thanks for the fix. I'll wait for CI to be extra sure and merge.

Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@machi1990 machi1990 merged commit 0614dc5 into quarkusio:master Mar 12, 2020
@machi1990 machi1990 deleted the docs/sort-mapped-runtime-config-items-at-the-end-of-config-list branch March 12, 2020 13:11
@gsmet gsmet added this to the 1.3.0.Final milestone Mar 12, 2020
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.

Generated datasource configuration: incorrect order of properties
3 participants