Page MenuHomePhabricator

Make PeopleQuery throw, not select everything, when handed empty array
ClosedPublic

Authored by epriestley on May 20 2014, 1:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 31, 9:47 AM
Unknown Object (File)
Mar 31 2026, 7:13 PM
Unknown Object (File)
Mar 3 2026, 10:24 PM
Unknown Object (File)
Jan 4 2026, 4:11 AM
Unknown Object (File)
Jan 3 2026, 7:03 PM
Unknown Object (File)
Dec 22 2025, 8:36 AM
Unknown Object (File)
Nov 1 2025, 4:41 AM
Unknown Object (File)
Oct 31 2025, 7:29 PM
Subscribers

Details

Summary

Make ->withPHIDs(array()) throw on this query instead of selecting everything.

Test Plan

Poked around.

Diff Detail

Repository
rP Phabricator
Branch
lockdown
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 590
Build 590: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Make PeopleQuery throw, not select everything, when handed empty array.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.May 20 2014, 2:21 PM
epriestley updated this revision to Diff 21880.

Closed by commit rPbed9ce2d1897 (authored by @epriestley).