Fluid.SchemaGenerator
Fluid.SchemaGenerator copied to clipboard
[TASK] Add missing ViewHelper argument data type notation "bool"
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.
Related discussion: https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper/pull/79
Looks reasonable to me. I'm a bit puzzled why booleans are handled differently in AbstractViewHelper, but that doesn't affect this PR.