-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate Schema files only for a chosen namespace like it was possible with generateschema command #1005
Comments
Did you see that there is a separate command for TYPO3? Maybe this helps for your use case? |
This feature is only for TYPO3 13 but I'm using TYPO3 12... and the TYPO3 command also misses the namespace parameter to only render one namespace at a time |
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. |
There are cases when errors occur on iterating through the installed view helpers. The generation of the XSDs then break hard with an exception. Currently, this occurs with the TYPO3 extension "schema". Now, these errors are catched and collected. A calling script can get and display these errors. This way, the generation of XSDs is not cancelled, but proceed without the erroneous view helpers. This is especially useful for the TYPO3 command "fluid:schema:generate". Related: #1005
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: