Page MenuHomePhabricator

Give ConduitAPIMethod->getMethodDescription() access to a real Viewer
ClosedPublic

Authored by epriestley on Dec 13 2015, 10:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 6:38 PM
Unknown Object (File)
Fri, Apr 12, 4:50 AM
Unknown Object (File)
Thu, Apr 11, 7:59 AM
Unknown Object (File)
Wed, Apr 10, 7:45 AM
Unknown Object (File)
Tue, Apr 9, 6:44 PM
Unknown Object (File)
Wed, Apr 3, 7:50 AM
Unknown Object (File)
Mar 5 2024, 10:03 AM
Unknown Object (File)
Mar 5 2024, 1:57 AM
Subscribers
None

Details

Summary

Ref T9964. The new *.search and *.edit methods generate documentation which depends on the viewer.

For example, the *.search methods show a reference table of the keys for all your saved queries.

Give them a real viewer to work with.

During normal execution, just populate this viewer with the request's viewer, so $request->getViewer() and $this->getViewer() both work and mean the same thing.

Test Plan

Screen Shot 2015-12-13 at 2.44.37 AM.png (229×539 px, 35 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give ConduitAPIMethod->getMethodDescription() access to a real Viewer.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 13 2015, 3:23 PM
epriestley edited edge metadata.
  • Clean tests.
This revision was automatically updated to reflect the committed changes.