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
instead of conditionally selecting an option, we declare union types and a higher level editor in the neos ui will give a selection to either insert the one or the other:
So when selecting "string" (or rather a human readable label) a string editor appears and when selecting "SomeDto" or the like another editor appears.
To correctly model complex things inspector gadget should be used - and might even need to be brought to the core ... maybe even union types are not really necessary, but inspector gadget would already solve all problems though the use of well structured custom dtos?
The text was updated successfully, but these errors were encountered:
DTOs don't sound a like an easy and accessible solution to me for integrators and for most simple cases. Also things evolve over time.
But if someone wants validation + optional fields, they have to provide one, as it sounds a like a bit more sophisticated use-case. We can also make the ui detect if something is hidden+hasValidation and show a hint to the editor.
This is just a wip thought and will be better formulated and discussed at a later point.
Current state:
Proposal:
instead of conditionally selecting an option, we declare union types and a higher level editor in the neos ui will give a selection to either insert the one or the other:
So when selecting "string" (or rather a human readable label) a string editor appears and when selecting "SomeDto" or the like another editor appears.
To correctly model complex things inspector gadget should be used - and might even need to be brought to the core ... maybe even union types are not really necessary, but inspector gadget would already solve all problems though the use of well structured custom dtos?
The text was updated successfully, but these errors were encountered: