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
All conversion errors occur in a single form (only one exception) . It is impossible to get a list of all errors.
This is due to the fact that for the correct creation of any composite structure (for example, an object), it should be created completely correct, which guarantees that the incoming data will fully satisfy the requirements (it is impossible to create an object partially in order to continue analyzing its internal properties) and simplifies the implementation.
Perhaps, to implement such functionality, it is possible to add a corresponding method, such as analysis, which will return a list of errors, but this will slow down the work... Or I can implement collecting a list of all errors only at one level (from one object), without nesting. I need to think about it...
Activity
SerafimArts commentedon Apr 28, 2025
All conversion errors occur in a single form (only one exception) . It is impossible to get a list of all errors.
This is due to the fact that for the correct creation of any composite structure (for example, an object), it should be created completely correct, which guarantees that the incoming data will fully satisfy the requirements (it is impossible to create an object partially in order to continue analyzing its internal properties) and simplifies the implementation.
Perhaps, to implement such functionality, it is possible to add a corresponding method, such as analysis, which will return a list of errors, but this will slow down the work... Or I can implement collecting a list of all errors only at one level (from one object), without nesting. I need to think about it...