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 endpoint sorting issue #1398

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

tlmii
Copy link
Member

@tlmii tlmii commented Dec 14, 2023

Fixes #1400

ResourceViewModel.Endpoints was changed in #1344 from a List<string> to a List<EndpointViewModel> and in doing so, it changed what .Endpoints.OrderBy(e => e) meant in this line of code. Since EndpointViewModels aren't IComparable (or anything similar), it can't sort them.

Quick fix to just change the OrderBy to use the EndpointViewModel.ProxyUrl instead

Microsoft Reviewers: Open in CodeFlow

@davidfowl davidfowl enabled auto-merge (squash) December 14, 2023 19:20
@davidfowl davidfowl merged commit c2756b4 into dotnet:release/8.0-preview2 Dec 14, 2023
8 checks passed
@tlmii tlmii deleted the dev/fix-endpoint-issue branch December 14, 2023 19:29
@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants