Currently we are using load_default and required together for some cases where we are working with partial loading.
In this case field that is required is no longer required and should use load_default value, but it is not allowed in the code:
if required is True and load_default is not missing_:
raise ValueError("'load_default' must not be set for required fields.")
Would it make sense to allow it for such cases?
first_party_non_custodial_allowed = marshmallow.fields.Bool(
required=True,
load_default=True,
dump_default=True,
)