Skip to content

json: skip unmarshal when DecodeClientResponse reply is nil - #102

Open
team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:json2-nil-reply
Open

team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:json2-nil-reply

Conversation

@team-humaki

Copy link
Copy Markdown

Skip result unmarshal when reply is nil so callers can check RPC errors without a dummy dest.

Still returns RPC errors and null-result errors.

Fixes #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] DecodeClientResponse to allow 'reply == nil'

1 participant