-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gogenerate): add optional fields in log with omitempty annotation (
#619) <!-- !!!! README !!!! Please fill this out. Please follow conventional commit naming conventions: https://www.conventionalcommits.org/en/v1.0.0/#summary --> <!-- A short description of what your PR does and what it solves. --> ## What this PR does / why we need it gobox cannot be re-stenciled due to manual change in autogenerated file where a field was made optional. this PR adds `omitempty` annotation to log tags, making it possible to mark fields optional. <!-- <<Stencil::Block(jiraPrefix)>> --> ## Jira ID [DT-4572](https://outreach-io.atlassian.net/browse/DT-4572) <!-- <</Stencil::Block>> --> <!-- Notes that may be helpful for anyone reviewing this PR --> ## Notes for your reviewers <!-- <<Stencil::Block(custom)>> --> <!-- <</Stencil::Block>> --> [DT-4572]: https://outreach-io.atlassian.net/browse/DT-4572?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Signed-off-by: T M Rezoan Tamal <[email protected]>
- Loading branch information
Showing
4 changed files
with
368 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.