Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make headers in ExecuteNexusOperationInput case insensitive #2342

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Dec 4, 2024

Make headers in ExecuteNexusOperationInput case insensitive, this will align with other Nexus headers that are all case insensitive.

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner December 4, 2024 18:46
(k) -> k.getKey().toLowerCase(),
Map.Entry::getValue,
(a, b) -> a,
() -> new TreeMap<>(String.CASE_INSENSITIVE_ORDER)));
Copy link
Member

Choose a reason for hiding this comment

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

A nice bonus of having a deterministically sorted map too

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the ExecuteNexusOperationInput-case-insentive-headers branch from 7e50163 to 1797d52 Compare December 4, 2024 23:04
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit c7fcf12 into temporalio:master Dec 4, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants