Page MenuHomePhabricator

TemplateData: Make description for Param#deprecated optional
Closed, ResolvedPublic


Right now deprecated supports boolean|string where it has to be false or a non-empty string describing why it is deprecated. This is not a bug but explicitly and purposely written that way.

We should make it optional, where boolean true would be "deprecated but without a description".

See also bug 52966 (Change "string" in Param#deprecated to InterfaceText).

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:54 AM
bzimport added a project: TemplateData.
bzimport set Reference to bz53412.

Change 129844 had a related patch set uploaded by Jforrester:
Obey documented behavior and allow deprecated: true

Change 129844 merged by jenkins-bot:
Obey specified behaviour and allow Param#deprecated to be boolean true