carvalhorr / protoc-gen-mock

47 stars 11 forks source link

no response found when the request contains enum values #14

Closed carvalhorr closed 4 years ago

carvalhorr commented 4 years ago

This issue only happened when the stub's request contained the default value of the enum.

The reason is that Marshaling proto.Message to JSON does not contain the default value of enums.