You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a lot of errors trying to generate schemas for viewhelpers as I can't add a parameter for which namespace I want them to be generated. I don't understand why this parameter is not available which was possible before in the old generateschema command.
I have the schema extension installed which crashes the generation:
vendor/bin/fluid schema
PHP Fatal error: Uncaught Error: Typed property Brotkrueml\Schema\Core\ViewHelpers\AbstractTypeViewHelper::$modelTemplate must not be accessed before initialization in /home/user/xxx/vendor/brotkrueml/schema/Classes/Core/ViewHelpers/AbstractTypeViewHelper.php:41
Our intention was to create a zero-config command to cover the most common use case.
Note that the old schema generator still works, and you can also use the new classes as API for your own commands. For example, I used this for the new ViewHelper documentation generator.
This is a bug report for the PR: #876
I'm getting a lot of errors trying to generate schemas for viewhelpers as I can't add a parameter for which namespace I want them to be generated. I don't understand why this parameter is not available which was possible before in the old generateschema command.
I have the
schema
extension installed which crashes the generation:Before I used to generate the files like so:
The text was updated successfully, but these errors were encountered: