Skip to content

Conversation

@wooj2
Copy link
Contributor

@wooj2 wooj2 commented Aug 6, 2021

corresponding:
awslabs/aws-sdk-swift#304

this allows restxml-namespace protocol codegen tests to compile properly.. hopefully it doesn't break anything else.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

// when you instantiate that struct you have to call params in order with their param names. if you don't it won't compile
// so we sort here before we write any of the members with their values
val sortedMembers = node.members.toSortedMap(compareBy<StringNode> { it.value })
val sortedMembers = node.members.toSortedMap(compareBy<StringNode> { it.value.lowercase() })
Copy link
Contributor

Choose a reason for hiding this comment

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

how did this ever work anywhere else? lol

Copy link
Contributor Author

Choose a reason for hiding this comment

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

members were always lower cased somehow?

Copy link
Contributor

@kneekey23 kneekey23 left a comment

Choose a reason for hiding this comment

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

seems liek ci passes so I trust it!

@wooj2 wooj2 merged commit 49426a6 into main Aug 6, 2021
@wooj2 wooj2 deleted the chore/restxmlns branch August 6, 2021 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants