config: ManagedProperty/ValidatedProperty を拡張して自動シリアライズ登録を導入

- ManagedProperty / ValidatedProperty に serialize / readonly オプションを追加
- 属性の取得/設定で可変型(dict/list)を deepcopy するようにして外部からの破壊的変更を防止
- readonly プロパティへの書き込みを AttributeError で拒否
- _auto_register_descriptors() を導入し、serialize=True なディスクリプタを自動で json_serializable に登録して JSON シリアライズのボイラープレートを削減
- 多数の手動プロパティ/シリアライズ関数をディスクリプタ定義へ置換・整理し、バリデータ群を上部に集約
- 不要になった inspect インポートを削除
This commit is contained in:
misyaguziya
2025-10-21 23:16:42 +09:00
parent 98e2e50b34
commit c8ffb329ba

File diff suppressed because it is too large Load Diff