Home GnuPG

Conduit accept int/bool parameters as strings
c71bb0550c5dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Conduit accept int/bool parameters as strings

Summary: Accept Conduit parameter values as strings (e.g. from curl) and convert to required type.

Test Plan:
Call conduit method with int/bool parameter iusing curl and make sure it does not result in validation error, e.g.

$ curl http://$PHABRICATOR_HOST/api/maniphest.search -d api.token=$CONDUIT_TOKEN -d constraints[modifiedEnd]=$(date +%s) -d constraints[hasParents]=true -d limit=1

Fixes T10456.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T10456

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

Details

Provenance
Giedrius Dubinskas <gd@uber.com>Authored on Oct 14 2016, 4:45 PM
gd <autocommitter@example.com>Committed on Oct 14 2016, 4:45 PM
Parents
rPHAB636eaf231ec4: Only show loading animation on thread change in Conpherence
Branches
Unknown
Tags
Unknown

Event Timeline

gd <autocommitter@example.com> committed rPHABc71bb0550c5d: Conduit accept int/bool parameters as strings (authored by Giedrius Dubinskas <gd@uber.com>).Oct 14 2016, 4:45 PM