grokify/go-scim-client

Add `omitempty` for `User` struct

Closed this issue · 1 comments

A number of properties in the User struct did not have omitempty in the auto-generated code. This is useful for patch operations:

Emails []Email `json:"emails"`
Name *Name `json:"name"`
Schemas []string `json:"schemas"`
UserName string `json:"userName"`

Manually fixed in initial release.