Page MenuHomePhabricator

Allow "differential.createinline" to accept JSON "false" for "isNewFile"
ClosedPublic

Authored by epriestley on Jan 26 2021, 10:48 PM.
Tags
None
Referenced Files
F15491214: D21522.id51229.diff
Sat, Apr 12, 12:19 AM
F15468100: D21522.diff
Thu, Apr 3, 8:15 PM
F15461507: D21522.id51229.diff
Tue, Apr 1, 8:49 AM
F15443111: D21522.id51229.diff
Thu, Mar 27, 2:27 AM
F15441641: D21522.id51228.diff
Wed, Mar 26, 7:04 PM
F15435056: D21522.id.diff
Tue, Mar 25, 6:39 AM
F15423868: D21522.id51229.diff
Sat, Mar 22, 7:03 PM
F15423866: D21522.id51228.diff
Sat, Mar 22, 7:03 PM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/error-creating-inline-comment-via-conduit-api/4535. See T12678.

This API method currently does not accept a JSON "false", but reasonably should.

Test Plan
  • Called method with "isNewFile: false".
    • Before: type error.
    • After: inline comment.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 26 2021, 10:56 PM
This revision was automatically updated to reflect the committed changes.