Feature/model ref - #6
Open
cjbi wants to merge 6 commits into
Open
Conversation
- 将 RelationField 重命名为 ModelRefField - 将 ModelRelation 注解重命名为 ModelRef - 将 ScalarType 中的 RELATION 类型重命名为 MODEL_REF - 更新所有相关字段、方法和变量名称以匹配新命名 - 修改测试资源文件中的类型定义以使用新命名约定 - 更新 Jackson 序列化配置以使用新的字段类型名称
- 将 EnumRefField 构造函数中的 ScalarType.ENUM 替换为 ScalarType.ENUM_REF - 修正 EnumDefinition 中 getType 方法返回值为 "Enum" - 移除 MongoContext 中重复的类型导入 - 更新 MongoContext 中类型处理器映射使用 ENUM_REF 类型 - 移除 SqlContext 中重复的类型导入 - 更新 SqlContext 中类型处理器映射使用 ENUM_REF 类型 - 修正 ModelMixIn 中 JSON 子类型注解的名称大小写 - 更新测试资源文件中实体类型的命名约定 - 修正 ModelingTools 中文档描述的类型名称大小写 - 更新 ModelResourceTest 中测试数据的类型名称大小写
- 将关系字段章节标题改为模型引用字段 - 将RelationField示例重写为ModelRefField新API - 删除多对多关系示例因新API不再支持 - 更新flexmodel-core.md中的字段创建代码 - 修改codegen文档中的isRelationField调用为isModelRefField
- 将NativeQueryDefinition.getType()返回值从"native_query"改为"NativeQuery" - 更新ModelMixIn中NativeQueryDefinition的类型名称映射 - 修改sample_input.json测试文件中的类型值 - 更新ModelingTools工具描述中的类型说明 - 修正ModelingResource中所有示例对象的类型值 - 更新ModelingResource中API文档的类型枚举说明 - 修改UI组件ProvidersTab中的类型过滤条件 - 更新ModelExplorer中模型图标获取和分组逻辑的类型判断 - 修正ModelForm中表单提交和标签页切换的类型匹配 - 更新NativeQueryForm中类型赋值和确认逻辑 - 修改DataModeling页面中模型视图渲染的类型判断 - 更新data-modeling.d.ts中TypeWrapper
- 将所有 'enum' 类型统一更改为 'Enum' - 将所有 'entity' 类型统一更改为 'Entity' - 更新 ModelForm 中的标签页键值为大写开头 - 修正 ERDiagramView 中实体过滤条件的一致性 - 确保所有组件中的类型判断逻辑保持统一
- 将字段类型判断从 'Relation' 修改为 'ModelRef' - 确保只有 ModelRef 类型的字段才会被处理为关联关系 - 修复因类型判断错误导致的关系映射问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.