top-think / top-think/think-orm
ThinkORM4有没有办法关闭所有模型字段的自动转换?
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 437
- Forks
- 188
- PR merge metrics
- No merged PRs in 30d
Description
我知道可以在模型类中设置type成员字段,但是这样只能一个字段一个字段的关闭,我们有十几个项目,几百个模型类,超多字段,在之前都手动转换好了,升级到4.0,有些字段就显示不正常了
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing ThinkORM 4.0's model field type-conversion behavior and the existing per-field type configuration described in the issue. Determine whether a project-wide or model-wide opt-out is supported or needs to be designed; done means existing manually converted values remain unchanged across the affected models and fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100