Fluid.SchemaGenerator icon indicating copy to clipboard operation
Fluid.SchemaGenerator copied to clipboard

[TASK] Add missing ViewHelper argument data type notation "bool"

Open ErHaWeb opened this issue 11 months ago • 1 comments

According to TYPO3Fluid\Fluid\Core\Parser\TemplateParser, in addition to the data type boolean, bool is also treated as a boolean value. To prevent the ViewHelper documentation from outputting the data type mixed if the string bool was specified as a data type in the ViewHelper, it is necessary to adapt the XSD generation accordingly.

ErHaWeb avatar Mar 07 '24 21:03 ErHaWeb

Related discussion: https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper/pull/79

ErHaWeb avatar Mar 07 '24 21:03 ErHaWeb

Looks reasonable to me. I'm a bit puzzled why booleans are handled differently in AbstractViewHelper, but that doesn't affect this PR.

s2b avatar May 07 '24 15:05 s2b