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

Add omitempty JSON tag to User slice fields #383

Merged
merged 1 commit into from
Nov 14, 2021
Merged

Add omitempty JSON tag to User slice fields #383

merged 1 commit into from
Nov 14, 2021

Commits on Nov 12, 2021

  1. Add omitempty JSON tag to User slice fields

    These fields aren't actually updated by posting a User object (partial or full)
    to the REST API, as other REST endpoints are used to mutate that data. As such,
    there really isn't a reason to send these fields on any outbound requests that
    make use of the `User` struct.
    
    Closes #343
    theckman committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    f707d9c View commit details
    Browse the repository at this point in the history