Page MenuHomePhabricator

Allow "PhutilClassMapQuery" to sort with a PhutilSortVector sort function
ClosedPublic

Authored by epriestley on Jun 22 2019, 4:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 9, 5:15 PM
Unknown Object (File)
Feb 13 2024, 2:44 PM
Unknown Object (File)
Feb 3 2024, 10:41 PM
Unknown Object (File)
Feb 3 2024, 9:10 AM
Unknown Object (File)
Jan 31 2024, 9:06 PM
Unknown Object (File)
Jan 13 2024, 5:56 AM
Unknown Object (File)
Jan 6 2024, 4:36 PM
Unknown Object (File)
Dec 27 2023, 1:15 PM
Subscribers
None

Details

Summary

Ref T13303. I didn't find any explicit "msortv()" issues in instances/, but did catch one during deploy where we run a ClassMapQuery with a vector-returning sort method.

Test if the sort method returns vectors and "msortv()" it if it does.

Test Plan

Will cherry-pick and redeploy, just throwing this up for reference/context.

Diff Detail

Repository
rPHU libphutil
Branch
msortvx
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23031
Build 31618: Run Core Tests
Build 31617: arc lint + arc unit