When creating a configuration with a setting whose default is large enough to require an int64 value (such as -9223372036854775808), if the value in the source yaml file is changed to fit within the range of values supported by a 32-bit integer, then an exception is thrown when calling Load. The exception is thrown here and indicates that it Cannot assign value of type Int32 to field of Int64: 0. despite 0 being a perfectly valid value for an int64 :)
When creating a configuration with a setting whose default is large enough to require an
int64
value (such as-9223372036854775808
), if the value in the source yaml file is changed to fit within the range of values supported by a 32-bit integer, then an exception is thrown when callingLoad
. The exception is thrown here and indicates that itCannot assign value of type Int32 to field of Int64: 0.
despite0
being a perfectly valid value for anint64
:)