cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

[ESI-16260] Marshal nil pointer to structs into undefined #597

Closed zimnx closed 6 years ago

zimnx commented 6 years ago

Previous implementation had some API inconsistency. User couldn't use response returned by GET to POST request, because not required object, appeared as null. Now all nil pointers to structures are translated to undefined values.