smarie/python-pyfields

DescriptorField: default values should be validated and converted

smarie opened this issue · 0 comments

Several cases to consider :

  • default value / default value factory
  • type check and validators
  • special case where validators/converters are added after field creation but the default value relies on them