You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now you either enumerate all the fields on a struct, or use default to get only defaults. Neither of those is super useful, most likely you just want a few fields set at a time and everything else default. Making fields public would enable the normal pattern of
Didn't want to make fields public so that we can force validation. Need to investigate alternatives - builder pattern might work. Might be able to make fields public if the right validation pattern is available.
Right now you either enumerate all the fields on a struct, or use default to get only defaults. Neither of those is super useful, most likely you just want a few fields set at a time and everything else default. Making fields public would enable the normal pattern of
The text was updated successfully, but these errors were encountered: