Closed knarkzel closed 2 years ago
I'm using sailfish for templates, and I don't wanna serialize the type because of overhead, and I only need the email field of User. This should probably be public, unless there's a specific security reason for it not to be.
email
User
Hi, you can retrieve the email with user.email(). The email field is private so it is always validated when using set_email.
user.email()
set_email
I'm using sailfish for templates, and I don't wanna serialize the type because of overhead, and I only need the
email
field ofUser
. This should probably be public, unless there's a specific security reason for it not to be.