DisplayName field missing in Connection struct
juniocezar opened this issue · comments
Junio Cezar commented
The connection struct in management/connection.go
doesn't have a field for getting or setting the Display Name for Auth0 connections.
Basically, the change needed is to change this:
type Connection struct {
// A generated string identifying the connection.
ID *string `json:"id,omitempty"`
// The name of the connection. Must start and end with an alphanumeric
// character and can only contain alphanumeric characters and '-'. Max
// length 128.
Name *string `json:"name,omitempty"`
...
into this:
type Connection struct {
// A generated string identifying the connection.
ID *string `json:"id,omitempty"`
// The name of the connection. Must start and end with an alphanumeric
// character and can only contain alphanumeric characters and '-'. Max
// length 128.
Name *string `json:"name,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
....
ref:
auth0/management/connection.go
Line 36 in 4ac1f71