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

bzimport added a project: TemplateData.Via ConduitNov 22 2014, 1:54 AM
bzimport set Reference to bz53412.
Krinkle created this task.Via LegacyAug 27 2013, 5:53 PM
gerritbot added a comment.Via ConduitApr 25 2014, 11:36 PM

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


gerritbot added a comment.Via ConduitApr 25 2014, 11:46 PM

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


Add Comment