Open thet opened 1 year ago
Johannes Raggam wrote at 2023-7-17 00:43 -0700:
Boolean attributes with a default value which do not have to be set to true should not be marked as required attributes.
Someone has made a similar change some time ago (maybe 1 year) and reverted his change because it has caused many problems with existing applications.
You should be careful to avoid that your change does the same.
IIRC this was the PR which reverted the Bool required=False
https://github.com/zopefoundation/zope.schema/pull/107
And this issue https://github.com/zopefoundation/zope.schema/issues/104
Boolean attributes with a default value which do not have to be set to true should not be marked as required attributes.