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
F13084367: D21522.diff
Wed, Apr 24, 10:56 PM
Unknown Object (File)
Sat, Apr 20, 5:31 PM
Unknown Object (File)
Wed, Apr 17, 2:24 PM
Unknown Object (File)
Mar 25 2024, 9:15 AM
Unknown Object (File)
Mar 10 2024, 2:17 PM
Unknown Object (File)
Feb 20 2024, 7:10 AM
Unknown Object (File)
Feb 4 2024, 12:37 AM
Unknown Object (File)
Feb 3 2024, 6:53 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.