Page MenuHomePhabricator

[blob] Move HTTP request/response types to comm-lib
ClosedPublic

Authored by bartek on Oct 4 2024, 11:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:35 AM
Unknown Object (File)
Thu, Dec 19, 11:34 AM
Unknown Object (File)
Fri, Nov 29, 1:12 AM
Unknown Object (File)
Thu, Nov 28, 11:14 PM
Unknown Object (File)
Thu, Nov 28, 2:08 PM
Subscribers

Details

Summary

These types can (and generally should) be shared with the BlobServiceClient living in the comm-lib.
Unified them with types existing in comm-lib so request and response structs are now shared between client and server

Depends on D13616

Test Plan

cargo check

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek retitled this revision from [blob] Move BlobHashAndHolder struct to parent mod to [blob] Move HTTP request/response types to comm-lib.Oct 9 2024, 12:28 AM
bartek edited the summary of this revision. (Show Details)

Share types between client and server

bartek published this revision for review.Oct 9 2024, 1:12 AM
kamil added inline comments.
shared/comm-lib/src/blob/types.rs
1 ↗(On Diff #44989)

nit: can you standarize empty lines between structs and comments below? (if there is some pattern I don't see - sorry in advance, but it seems a bit messy)

This revision is now accepted and ready to land.Oct 10 2024, 1:16 AM