This is an automated email from the ASF dual-hosted git repository.

yuxuan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


    from 944b8e68a fixed a ton of missing ASF headers in *.thrift files
     add d5927a960 THRIFT-5423: IDL parameter validation for Go

No new revisions were added by this update.

Summary of changes:
 compiler/cpp/CMakeLists.txt                        |  75 +-
 compiler/cpp/Makefile.am                           |   7 +-
 .../src/thrift/generate/go_validator_generator.cc  | 906 +++++++++++++++++++++
 .../src/thrift/generate/go_validator_generator.h   |  72 ++
 .../cpp/src/thrift/generate/t_cpp_generator.cc     |   6 +-
 .../cpp/src/thrift/generate/t_delphi_generator.cc  |   6 +-
 compiler/cpp/src/thrift/generate/t_go_generator.cc | 299 +------
 compiler/cpp/src/thrift/generate/t_go_generator.h  | 329 ++++++++
 .../cpp/src/thrift/generate/t_java_generator.cc    |   6 +-
 .../cpp/src/thrift/generate/t_json_generator.cc    |  28 +-
 .../cpp/src/thrift/generate/t_kotlin_generator.cc  |   2 +-
 .../cpp/src/thrift/generate/t_netstd_generator.cc  |   4 +-
 compiler/cpp/src/thrift/generate/t_py_generator.cc |   4 +-
 .../cpp/src/thrift/generate/t_xml_generator.cc     |  34 +-
 .../cpp/src/thrift/generate/t_xsd_generator.cc     |   8 +-
 .../cpp/src/thrift/generate/validator_parser.cc    | 550 +++++++++++++
 .../cpp/src/thrift/generate/validator_parser.h     | 208 +++++
 compiler/cpp/src/thrift/parse/t_enum_value.h       |   4 +-
 compiler/cpp/src/thrift/parse/t_field.h            |   4 +-
 compiler/cpp/src/thrift/parse/t_function.h         |   8 +-
 compiler/cpp/src/thrift/parse/t_program.h          |  10 +-
 compiler/cpp/src/thrift/parse/t_type.h             |   8 +-
 compiler/cpp/src/thrift/thrifty.yy                 |   2 +-
 compiler/cpp/tests/CMakeLists.txt                  |  17 +
 doc/specs/thrift-parameter-validation-proposal.md  | 195 +++++
 lib/go/test/Makefile.am                            |  10 +-
 lib/go/test/ValidateTest.thrift                    | 104 +++
 lib/go/test/tests/validate_test.go                 | 494 +++++++++++
 lib/go/thrift/application_exception.go             |  47 +-
 29 files changed, 3082 insertions(+), 365 deletions(-)
 create mode 100644 compiler/cpp/src/thrift/generate/go_validator_generator.cc
 create mode 100644 compiler/cpp/src/thrift/generate/go_validator_generator.h
 create mode 100644 compiler/cpp/src/thrift/generate/t_go_generator.h
 create mode 100644 compiler/cpp/src/thrift/generate/validator_parser.cc
 create mode 100644 compiler/cpp/src/thrift/generate/validator_parser.h
 create mode 100644 doc/specs/thrift-parameter-validation-proposal.md
 create mode 100644 lib/go/test/ValidateTest.thrift
 create mode 100644 lib/go/test/tests/validate_test.go

Reply via email to