Skip to content

Commit

Permalink
5113. Validation of oneof nested objects (#5211)
Browse files Browse the repository at this point in the history
* Adds instruction for test codegen

* Adds tests to reproduce issue 5113. Oneof object should not override other oneof fields.

* Renames a new examplepb field for еру sake of clarity

* Checks if a oneOf field is already set before the call of msgValue.Mutable, that resets other options of the oneOf.

* Reverts Contributing.md

* Regenerates swagger
  • Loading branch information
optician authored Feb 7, 2025
1 parent 4f1457d commit 3b8ac9f
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 210 deletions.
Loading

0 comments on commit 3b8ac9f

Please sign in to comment.