joyent / conch-ui

Web UI for Conch (https://github.com/joyent/conch-api)
2 stars 5 forks source link

handle changes to validation result responses #299

Open karenetheridge opened 3 years ago

karenetheridge commented 3 years ago

The structure of validation results included in responses to these endpoints are changing in v3.2:

see https://github.com/joyent/conch-api/pull/1077

device E346530X8C00117, validation_state_id 40f5951a-c801-4d9f-b60e-565823c96073 in staging will contain both old- and new-style validation results, for the purposes of testing.

karenetheridge commented 3 years ago

Note that the validation schemas are referenced in the new-style validation results, so you will want to link to the referenced schema(s), and ideally also highlight the particular part of the schema that generated the error (in the case of errors).