Currently, if a TOML source is added with no name, or the source is incorrectly inside a [section] it will add an empty source, causing depsolving to crash. This adds tests for 'name' and 'type' fields as a minimum requirement, and returns an API error if they are empty or missing. This also includes unit and integration tests. Closes PR#462 |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| compose.go | ||
| json.go | ||
| upload.go | ||
| util.go | ||