neos / flow-development-collection

The unified repository containing the Flow core packages, used for Flow development.
https://flow.neos.io/
MIT License
139 stars 188 forks source link

Documentation on model validation is rendered incorrectly #1793

Closed albe closed 5 years ago

albe commented 5 years ago

Seems to affect version from 4.3 on:

https://flowframework.readthedocs.io/en/4.3/TheDefinitiveGuide/PartIII/Validation.html#validating-domain-models

The code section parts following "These Domain Model Validators can also mark some specific properties as failed and add specific error messages:" and (for 5.1+) "Normally, you would need to annotate Collection and Model type properties, so that the collection elements and the model would be validated like this:" are missing.

albe commented 5 years ago

Fixed with https://github.com/neos/flow-development-collection/commit/2d0e9c23a885665a1b1f79a86d7d49e9d0b6259c