Closed Bug 1840930 Opened 1 year ago Closed 1 year ago

Allow API responses to be returned if schema validation fails

Categories

(Firefox :: Shopping, task, P1)

task
Points:
1

Tracking

()

RESOLVED DUPLICATE of bug 1840678

People

(Reporter: jhirsch, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 obsolete file)

The initial toolkit commit throws away the API response if validation fails, but this will probably happen pretty often in the MVP development period. Let's instead be permissive, logging an error but otherwise attempting to return whatever we got back from the API fetch.

Assignee: nobody → jhirsch
Severity: -- → S3
Points: --- → 1
Priority: -- → P1
Whiteboard: [fidefe-shopping]
Pushed by jhirsch@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3f589713e266 Allow API responses to be returned if schema validation fails. r=fchasen

sorry for breaking stuff during code freeze! I thought I canceled this on Lando before it made its way to autoland :-\

Flags: needinfo?(jhirsch)

No worries Jared, if you fix it and still want it in 116 you can give it another go.

Attachment #9341607 - Attachment is obsolete: true

unassigning myself, as :fchasen is going to fix this in another patch he's working on.

Assignee: jhirsch → nobody

This was closed by the patch for bug 1840678

Assignee: nobody → fchasen
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1840678
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: