anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

optimize marshal error response #210

Closed JackLeeHal closed 4 years ago

JackLeeHal commented 4 years ago

For proposal here: https://github.com/anz-bank/sysl-go/issues/209

I got a workaround in our side, but I don't want to marshal those two field when it's empty.

In this way, we can custom our own error response.