Add review request IDs to the depends_on and blocks API fields
Review Request #7301 — Created May 13, 2015 and submitted
The links generated for the
depends_onandblocksfields of the
ReviewRequestAPIResourceandReviewRequestDraftResourcenow contain
the ID of the review request of that is being linked to.
Ran unit tests.
Verified that the new behaviour does not override the
?expand=
behaviour.
- Change Summary:
-
Add issue number.
- Bugs:
-
I think this breaks expanding of the resources? I think what we need is a new mechanism for serializing a link for a field, instead of the payload body.
- Summary:
-
[WIP] Add review request IDs to the depends_on and blocks API fieldsAdd review request IDs to the depends_on and blocks API fields
- Testing Done:
-
Ran unit tests.
+ + Verified that the new behaviour does not override the
?expand=+ behaviour. - Branch:
-
masterrelease-2.5.x
- Depends On:
-
- Commit:
fbc75832750d3671c371ad81245ff872cbe2a903e7b317f4571026aecaaefe05110185040d3a5f2a
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/review_request.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/review_request.py