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

(FM-8336) Capture and expose attribute ordering from transport schema #238

Merged

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Oct 3, 2019

When exposing attributes in the UI, they currently need to be alphabetised by their name, since the transmission through APIs does not preserve key order of the connection_info hash.

To facilitate showing attributes in the order defined by the module author, this change embeds the key-insertion order from the TypeDefinition into the API response.

When exposing attributes in the UI, they currently need to be alphabetised by their name, since the transmission through APIs does not preserve key order of the connection_info hash.

To facilitate showing attributes in the order defined by the module author, this change embeds the key-insertion order from the TypeDefinition into the API response.
@DavidS DavidS requested a review from a team October 3, 2019 10:35
@DavidS
Copy link
Contributor Author

DavidS commented Oct 3, 2019

This supersedes puppetlabs/puppetserver#2193

@carabasdaniel carabasdaniel merged commit fc4c914 into puppetlabs:master Oct 3, 2019
@DavidS DavidS deleted the fm-8556-connection_info_order branch October 3, 2019 13:12
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.

2 participants