Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpcserver: instruct REST marshaler to emit default values #3965

Merged
merged 1 commit into from
Jan 27, 2020

Commits on Jan 27, 2020

  1. rpcserver: instruct REST marshaler to emit default values

    This change instructs the REST proxy server to overwrite its default
    JSON marshaler settings. That allows us to set EmitDefaults to true
    which will result in all JSON fields returned in REST responses to
    be fully populated, even if their values are falsey.
    guggero committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    c8b7108 View commit details
    Browse the repository at this point in the history