opencompose
opencompose copied to clipboard
Cleanup validation structure and logic
There are things that are validated in encoder (when unmarshaling) and other in object package (Validate function)
We should clean that up and come with something that will be more coherent with all validations in one place.
still don't know how to do it properly. encoder should have validate input. All validation can't be done only in object pkg.