This PR -> #29, shows how validation errors are lost. But the question is who should own knowning what a validation error means? ApiModel or the implementer?
Should ApiModel conform to standard rails json for errors?
Should ApiModel Objects contain virtual (or realmed) errors?
Should Server error json be standardized? as to populate the error message from json instead of hardcoded default errror message seen here -> https://github.com/AdeptMobile/ApiModel/blob/6e33fa9aaa4143bf9a7ee9ab0ebf9d4d0141671b/Tests/ApiFormTests.swift#L84
Food for thought.
This PR -> #29, shows how validation errors are lost. But the question is who should own knowning what a validation error means? ApiModel or the implementer?
Should ApiModel conform to standard rails json for errors?
Should ApiModel Objects contain virtual (or realmed) errors?
Should Server error json be standardized? as to populate the error message from json instead of hardcoded default errror message seen here -> https://github.com/AdeptMobile/ApiModel/blob/6e33fa9aaa4143bf9a7ee9ab0ebf9d4d0141671b/Tests/ApiFormTests.swift#L84
Food for thought.