ex_dataclass icon indicating copy to clipboard operation
ex_dataclass copied to clipboard

Feature

Open Shadow-linux opened this issue 4 years ago • 0 comments

TODO-LIST

  • [x] 支持ExDataclass类型继承的正反解析;
  • [x] 支持List中ExDataclass类型正反解析;
  • [x] 支持List嵌套正反解析,如:{a: [[{a:1, b:2}, {a:3, b:4}]]}
  • [x] 支持typing.Union 和 typing.Type 特殊容器类型注解的多态行为,精确匹配字段存在最多ExDataclass(类型断言上,仅支持普通pytho类型;如:int,float等)
  • [ ] 支持反向解析下存在冗余字段,默认行为是抛弃冗余字段(可进行配置)[未开发配置项]
  • [x] 支持typing.Union 和 typing.Type 特殊容器类型相互嵌套场景
  • [ ] 支持类型注解作用于值的校验,类似参数签名

Shadow-linux avatar Jun 30 '21 03:06 Shadow-linux