Skip to content

Commit

Permalink
Add missing annotation to field id 0 in FastProto.thrift
Browse files Browse the repository at this point in the history
Reviewed By: thedavekwon

Differential Revision: D66546053

fbshipit-source-id: a1f62ccf46d5edb126d8b3e67998668c57e657e8
  • Loading branch information
Aristidis Papaioannou authored and facebook-github-bot committed Nov 27, 2024
1 parent 980106f commit a841921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third-party/thrift/src/thrift/test/FastProto.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ struct StructWithUnion {

struct NegativeFieldId {
-1: i32 anInteger;
0: string aString;
0: string aString (cpp.deprecated_allow_zero_as_field_id);
5: double aDouble;
}

0 comments on commit a841921

Please sign in to comment.