Page MenuHomePhabricator

Add "Edge Logic" support to PolicyAwareQuery
ClosedPublic

Authored by epriestley on Apr 18 2015, 3:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 3 2024, 3:16 AM
Unknown Object (File)
Jan 27 2024, 5:06 AM
Unknown Object (File)
Jan 26 2024, 4:43 AM
Unknown Object (File)
Jan 26 2024, 4:43 AM
Unknown Object (File)
Jan 14 2024, 12:32 AM
Unknown Object (File)
Jan 12 2024, 5:45 PM
Unknown Object (File)
Jan 12 2024, 5:37 AM
Unknown Object (File)
Jan 9 2024, 7:54 AM
Subscribers

Details

Summary

Ref T4100. Ref T5595. This allows PolicyAwareQuery to write all the logic for AND, OR, NOT, and NULL (i.e., "not in any projects") queries against any edge type.

It accepts an edge type and a list of constraints (which are basically just operator-value pairs, like <NOT, PHID-X-Y>, meaning the results must not have an edge connecting them to PHID-X-Y).

This doesn't actually do anything yet; see future diffs.

Test Plan

arc unit --everything

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add "Edge Logic" support to PolicyAwareQuery.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 20 2015, 4:21 PM
This revision was automatically updated to reflect the committed changes.