Previously null was the default, default value. This commit allowed the user to specify undefined as a default value as well, but it did not change the creation of the constructor. In order to allow undefined or null to be used as the default value, always use the default value if a value for the field is not provided in the options.
Previously null was the default, default value. This commit allowed the user to specify undefined as a default value as well, but it did not change the creation of the constructor. In order to allow undefined or null to be used as the default value, always use the default value if a value for the field is not provided in the options.