• Matthew Slipper's avatar
    go/proxyd: Properly handle null results · 437e853f
    Matthew Slipper authored
    Both the `Error` and `Result` fields on `RPCRes` had `omitempty` tags, so null results were being swallowed. We didn't catch this in integration tests because JavaScript tolerates missing keys. This is now fixed by using a custom JSON marshaler.
    
    Fixes #2049
    437e853f
rpc_test.go 1.37 KB