Closed dpopp07 closed 4 years ago
Fixes a bug in which not setting any body type lead to an attempt to reflect the type of a nil object, which caused a panic. Explicitly handles the case in which all three potential body objects are nil. Adds a test for this case.
nil
All committers have signed the CLA.
:tada: This PR is included in version 4.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Fixes a bug in which not setting any body type lead to an attempt to reflect the type of a
nil
object, which caused a panic. Explicitly handles the case in which all three potential body objects arenil
. Adds a test for this case.