HomePhabricator

Introduce idxv(), like idx()

Description

Introduce idxv(), like idx()

Summary:
Ref T10449. The new Conduit APIs are more powerful/flexible, but also more annoying to read data from since things are buried several levels deep.

Introduce idxv() to make it easier to do $conduit_result['data']['attachments']['fields']['name'] and similar safely without checking every single value.

Test Plan: See other diffs associated with T10449.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10449

Differential Revision: https://secure.phabricator.com/D15347

Details

Provenance
epriestleyAuthored on Feb 25 2016, 4:37 PM
epriestleyPushed on Feb 26 2016, 2:21 PM
Reviewer
chad
Differential Revision
D15347: Introduce idxv(), like idx()
Parents
rPHUf43291e99d36: Distinguish more carefully between different kinds of MySQL connection errors
Branches
Unknown
Tags
Unknown
Tasks
T10449: Almanac v2 (Unprototype)
Build Status
Buildable 10854
Build 13380: Run Core Tests