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
Currently, the structs objects are initialized manually by providing values to the struct fields directly. This leaves us with a situation where we have to rely on the Validate method for default values to be populated. Wrap all such places with a function in config like NewBeastConfig and NewChallengeConfig and decode the values from the toml so that default values can be sensibly initialized. View the issue to look at how we can deal with this BurntSushi/toml#47
The text was updated successfully, but these errors were encountered:
Currently, the structs objects are initialized manually by providing values to the struct fields directly. This leaves us with a situation where we have to rely on the
Validate
method for default values to be populated. Wrap all such places with a function in config likeNewBeastConfig
andNewChallengeConfig
and decode the values from the toml so that default values can be sensibly initialized. View the issue to look at how we can deal with thisBurntSushi/toml#47
The text was updated successfully, but these errors were encountered: