Skip to content

Commit c0ec322

Browse files
thedavekwonfacebook-github-bot
authored andcommitted
Remove unstructured annotation cpp.type in carbon thrift codegen
Summary: Remove unstructured annotation in carbon thrift codegen. Reviewed By: iahs Differential Revision: D74517847 fbshipit-source-id: 5b84dd83c24fe9dc8bea436c455c80ad05b5fce2
1 parent 45dc3c7 commit c0ec322

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mcrouter/lib/carbon/test/gen/CarbonThriftTest.thrift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ cpp_include "<mcrouter/lib/carbon/test/Timestamp.h>"
2323

2424
namespace cpp2 carbon.test.thrift
2525
namespace py3 carbon.test.thrift
26+
27+
2628
@cpp.Adapter{name = "carbon::test::TimestampAdapter"}
2729
typedef i64 CustomAdapterTypeI64
2830

31+
@cpp.Type{name = "::folly::IOBuf"}
32+
typedef binary CustomAdapterTypeBinaryInner
33+
2934
@cpp.Adapter{name = "::carbon::test::DummyPairAdapter<::carbon::test::Timestamp,uint32_t>"}
30-
typedef binary (cpp.type = "::folly::IOBuf") CustomAdapterTypeBinary
35+
typedef CustomAdapterTypeBinaryInner CustomAdapterTypeBinary
3136

3237

3338
enum MyEnum {

0 commit comments

Comments
 (0)