HomePhabricator

Prevent use of the "quality" constraint in the Badge search API

Description

Prevent use of the "quality" constraint in the Badge search API

Summary:
Ref T12270. This just drops the constraint for now, rather than dealing with all the typecasting stuff and putting us in a position which will almost certainly require backward compatibility breaks in the future.

Also renames "badges.*" to "badge.*" for consistency (all other methods are singular: token.*, project.*, differential.revision.*, etc).

Test Plan:
Saw "qualities" now "Not Supported", while other constraints continue to work:

Screen Shot 2017-03-09 at 11.42.36 AM.png (70×535 px, 13 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12270

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

Details

Provenance
epriestleyAuthored on Mar 9 2017, 7:32 PM
epriestleyPushed on Mar 9 2017, 8:27 PM
Reviewer
chad
Differential Revision
D17487: Prevent use of the "quality" constraint in the Badge search API
Parents
rPfa569c35d30e: Add award and revoke conduit calls to Badges
Branches
Unknown
Tags
Unknown
Tasks
T12270: Unbeta Badges
Build Status
Buildable 15960
Build 21144: Run Core Tests