@@ -37,7 +37,7 @@ StructMetadata<::cpp2::Fiery>::gen(ThriftMetadata& metadata) {
37
37
module_Fiery.is_union () = false ;
38
38
static const auto * const
39
39
module_Fiery_fields = new std::array<EncodedThriftField, 1 >{ {
40
- { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
40
+ { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
41
41
for (const auto & f : *module_Fiery_fields) {
42
42
::apache::thrift::metadata::ThriftField field;
43
43
field.id () = f.id ;
@@ -60,7 +60,7 @@ StructMetadata<::cpp2::Serious>::gen(ThriftMetadata& metadata) {
60
60
module_Serious.is_union () = false ;
61
61
static const auto * const
62
62
module_Serious_fields = new std::array<EncodedThriftField, 1 >{ {
63
- { 1 , " sonnet" , true , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
63
+ { 1 , " sonnet" , true , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
64
64
for (const auto & f : *module_Serious_fields) {
65
65
::apache::thrift::metadata::ThriftField field;
66
66
field.id () = f.id ;
@@ -83,7 +83,7 @@ StructMetadata<::cpp2::ComplexFieldNames>::gen(ThriftMetadata& metadata) {
83
83
module_ComplexFieldNames.is_union () = false ;
84
84
static const auto * const
85
85
module_ComplexFieldNames_fields = new std::array<EncodedThriftField, 2 >{ {
86
- { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
86
+ { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
87
87
for (const auto & f : *module_ComplexFieldNames_fields) {
88
88
::apache::thrift::metadata::ThriftField field;
89
89
field.id () = f.id ;
@@ -106,7 +106,7 @@ StructMetadata<::cpp2::CustomFieldNames>::gen(ThriftMetadata& metadata) {
106
106
module_CustomFieldNames.is_union () = false ;
107
107
static const auto * const
108
108
module_CustomFieldNames_fields = new std::array<EncodedThriftField, 2 >{ {
109
- { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
109
+ { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
110
110
for (const auto & f : *module_CustomFieldNames_fields) {
111
111
::apache::thrift::metadata::ThriftField field;
112
112
field.id () = f.id ;
@@ -129,7 +129,7 @@ StructMetadata<::cpp2::ExceptionWithPrimitiveField>::gen(ThriftMetadata& metadat
129
129
module_ExceptionWithPrimitiveField.is_union () = false ;
130
130
static const auto * const
131
131
module_ExceptionWithPrimitiveField_fields = new std::array<EncodedThriftField, 2 >{ {
132
- { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " error_code" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_I32_TYPE), std::vector<ThriftConstStruct>{ }}, }};
132
+ { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, { 2 , " error_code" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_I32_TYPE), std::vector<ThriftConstStruct>{ }}, }};
133
133
for (const auto & f : *module_ExceptionWithPrimitiveField_fields) {
134
134
::apache::thrift::metadata::ThriftField field;
135
135
field.id () = f.id ;
@@ -185,7 +185,7 @@ void ExceptionMetadata<::cpp2::Fiery>::gen(ThriftMetadata& metadata) {
185
185
module_Fiery.name () = " module.Fiery" ;
186
186
static const auto * const
187
187
module_Fiery_fields = new std::array<EncodedThriftField, 1 >{ {
188
- { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
188
+ { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
189
189
for (const auto & f : *module_Fiery_fields) {
190
190
::apache::thrift::metadata::ThriftField field;
191
191
field.id () = f.id ;
@@ -204,7 +204,7 @@ void ExceptionMetadata<::cpp2::Serious>::gen(ThriftMetadata& metadata) {
204
204
module_Serious.name () = " module.Serious" ;
205
205
static const auto * const
206
206
module_Serious_fields = new std::array<EncodedThriftField, 1 >{ {
207
- { 1 , " sonnet" , true , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
207
+ { 1 , " sonnet" , true , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
208
208
for (const auto & f : *module_Serious_fields) {
209
209
::apache::thrift::metadata::ThriftField field;
210
210
field.id () = f.id ;
@@ -223,7 +223,7 @@ void ExceptionMetadata<::cpp2::ComplexFieldNames>::gen(ThriftMetadata& metadata)
223
223
module_ComplexFieldNames.name () = " module.ComplexFieldNames" ;
224
224
static const auto * const
225
225
module_ComplexFieldNames_fields = new std::array<EncodedThriftField, 2 >{ {
226
- { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
226
+ { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
227
227
for (const auto & f : *module_ComplexFieldNames_fields) {
228
228
::apache::thrift::metadata::ThriftField field;
229
229
field.id () = f.id ;
@@ -242,7 +242,7 @@ void ExceptionMetadata<::cpp2::CustomFieldNames>::gen(ThriftMetadata& metadata)
242
242
module_CustomFieldNames.name () = " module.CustomFieldNames" ;
243
243
static const auto * const
244
244
module_CustomFieldNames_fields = new std::array<EncodedThriftField, 2 >{ {
245
- { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, }};
245
+ { 1 , " error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " internal_error_message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, }};
246
246
for (const auto & f : *module_CustomFieldNames_fields) {
247
247
::apache::thrift::metadata::ThriftField field;
248
248
field.id () = f.id ;
@@ -261,7 +261,7 @@ void ExceptionMetadata<::cpp2::ExceptionWithPrimitiveField>::gen(ThriftMetadata&
261
261
module_ExceptionWithPrimitiveField.name () = " module.ExceptionWithPrimitiveField" ;
262
262
static const auto * const
263
263
module_ExceptionWithPrimitiveField_fields = new std::array<EncodedThriftField, 2 >{ {
264
- { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ }}, { 2 , " error_code" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_I32_TYPE), std::vector<ThriftConstStruct>{ }}, }};
264
+ { 1 , " message" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_STRING_TYPE), std::vector<ThriftConstStruct>{ * cvStruct ( " thrift.ExceptionMessage " , { }). cv_struct_ref (), }}, { 2 , " error_code" , false , std::make_unique<Primitive>(ThriftPrimitiveType::THRIFT_I32_TYPE), std::vector<ThriftConstStruct>{ }}, }};
265
265
for (const auto & f : *module_ExceptionWithPrimitiveField_fields) {
266
266
::apache::thrift::metadata::ThriftField field;
267
267
field.id () = f.id ;
0 commit comments