thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [thrift] cfriedt opened a new pull request #1996: THRIFT-5079: Check presence of required fields in struct writer
Date Tue, 16 Jun 2020 02:44:39 GMT

cfriedt opened a new pull request #1996:

   As of v0.13.0 but probably earlier, and with at least C++, the code generator did not verify
that required fields were present on outgoing messages.
   This change ensures that the struct writer throws an exception if a required field is not
   Note, I have not yet added an integration test
   <!-- Explain the changes in the pull request below: -->
   <!-- We recommend you review the checklist/tips before submitting a pull request. -->
   - [x] Did you create an [Apache Jira](
ticket?  (not required for trivial changes)
   - [x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN:
describe my issue"?
   - [x] Did you squash your changes to a single commit?  (not required, but preferred)
   - [ ] Did you do your best to avoid breaking changes?  If one was needed, did you label
the Jira ticket with "Breaking-Change"?
   - [ ] If your change does not involve any code, add ` [skip ci]` at the end of your pull
request to free up build resources.
     The Contributing Guide at:
     has more details and tips for committing properly.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message