Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

*: fix deserialization of JSON errors #83

Merged
merged 1 commit into from
Mar 18, 2018
Merged

*: fix deserialization of JSON errors #83

merged 1 commit into from
Mar 18, 2018

Conversation

ericchiang
Copy link
Owner

Have meta/v1.Status implement json decoding to support JSON encoded
errors from the API. This package's decoding logic won't unmarshal
a JSON payload into a protobuf message to prevent silent errors.
Protobuf types can allow JSON by implementing json.Unmarshaler.

Fixes #82

Have meta/v1.Status implement json decoding to support JSON encoded
errors from the API. This package's decoding logic won't unmarshal
a JSON payload into a protobuf message to prevent silent errors.
Protobuf types can allow JSON by implementing json.Unmarshaler.
@ericchiang ericchiang merged commit 617b6a4 into master Mar 18, 2018
@ericchiang ericchiang deleted the json-errors branch March 18, 2018 22:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant