When we run the fully combined model through validateJSON currently the errors have no metadata associated with them that would allow us to (or at least easily) look up the line and column information associated with the error.
When we raise a validation error we should include the new file and module metadata fields so that we can improve the error reporting for these errors. Then in the catch for validateJSON we can lookup the file contents and get line/column data to improve these errors.
When we run the fully combined model through
validateJSON
currently the errors have no metadata associated with them that would allow us to (or at least easily) look up the line and column information associated with the error.When we raise a validation error we should include the new file and module metadata fields so that we can improve the error reporting for these errors. Then in the catch for
validateJSON
we can lookup the file contents and get line/column data to improve these errors.