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
Unknown Object (File)
Tue, Dec 17, 8:58 AM
Unknown Object (File)
Wed, Dec 11, 4:17 PM
Unknown Object (File)
Sat, Dec 7, 7:44 AM
Unknown Object (File)
Tue, Dec 3, 1:18 PM
Unknown Object (File)
Mon, Dec 2, 3:25 AM
Unknown Object (File)
Mon, Dec 2, 2:04 AM
Unknown Object (File)
Thu, Nov 28, 4:30 PM
Unknown Object (File)
Mon, Nov 25, 2:21 AM
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.