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)
Fri, Nov 15, 7:05 AM
Unknown Object (File)
Fri, Nov 15, 7:04 AM
Unknown Object (File)
Fri, Nov 15, 2:51 AM
Unknown Object (File)
Thu, Nov 14, 6:48 PM
Unknown Object (File)
Sun, Nov 10, 1:53 PM
Unknown Object (File)
Sat, Nov 9, 11:39 PM
Unknown Object (File)
Thu, Nov 7, 9:09 AM
Unknown Object (File)
Wed, Nov 6, 11:33 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