Open lawrencejones opened 1 year ago
The errors are a bit messy. If you fail to parse the file, we print the default template output, which is confusing.
If you use keys that aren't recognised, we'll accept them: this is particularly confusing.
Detection of duplicate type names would be great too.
https://github.com/incident-io/catalog-importer/pull/65 will fix the unrecognised key problem, but several things still left to improve:
The errors are a bit messy. If you fail to parse the file, we print the default template output, which is confusing.
If you use keys that aren't recognised, we'll accept them: this is particularly confusing.