plone / guillotina

Python AsyncIO data API to manage billions of resources
https://guillotina.readthedocs.io/en/latest/
Other
188 stars 51 forks source link

[5.x] Be able to customize default required setting #811

Closed vangheem closed 4 years ago

vangheem commented 4 years ago

With this change, you can do IField['required'].default = False to make required False by default

codecov-io commented 4 years ago

Codecov Report

Merging #811 into 5.x will decrease coverage by 0.1%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             5.x    #811     +/-   ##
=======================================
- Coverage   94.4%   94.4%   -<.1%     
=======================================
  Files        306     306             
  Lines      27385   27386      +1     
=======================================
- Hits       25829   25827      -2     
- Misses      1556    1559      +3
Impacted Files Coverage Δ
guillotina/schema/_bootstrapfields.py 100% <100%> (ø) :arrow_up:
guillotina/contrib/pubsub/utility.py 83.2% <0%> (-2.4%) :arrow_down:
guillotina/db/storages/pg.py 89.4% <0%> (-0.1%) :arrow_down: