-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This PR adds both Chinese and English versions of the README.md file to improve the project's accessibility and global reach. #1049
Conversation
- 修改多个配置文件以更新数据库连接字符串 - 添加本地时区设置 - 调整服务配置以支持 PostgreSQL - 移除各个模块独立的数据库配置,使其支持当项目启动数据迁移
public class YourNotificationHandler : INotificationHandler<SessionExpirationNotification> | ||
{ | ||
public async Task HandleNotificationAsync(SessionExpirationNotification notification) | ||
{ | ||
// 处理会话过期通知 | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通知模块没有集成 MediatR
, 无法使用此API, 不能在文档中诱导用户
"Claims": { | ||
"DynamicClaims": { | ||
"OrganizationUnit": true // 启用组织单元动态声明 | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AbpSecurity模块没有此配置选项,建议仔细检查
"WrapOnError": true, // 是否包装错误响应 | ||
"WrapOnSuccess": true // 是否包装成功响应 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有此配置项定义
* Actor方法的错误响应会保持原始错误结构 | ||
* 模块与ABP的远程服务错误处理系统集成 | ||
* 建议在微服务架构中统一使用响应包装 | ||
* 包装格式可以通过继承`IAbpWrapperResponseBuilder`自定义 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用IActionResultWrapperFactory
和IActionResultWrapper
"WrapOnError": true, // 是否包装错误响应 | ||
"WrapOnSuccess": true // 是否包装成功响应 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
无效的配置项
* `Field` - 字段名 | ||
* `Value` - 字段值 | ||
* `Operate` - 操作符 | ||
* `IsLeft` - 是否左括号 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
左包含
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前项目模块太多了,如果对于每一个项目中的readme进行工人校验成本太大。我打算通过ai把所有模块生成readme后再去docs文件夹汇总各个模块组的readme。至于通过AI生成的项目级别的readme可以再后期逐步维护
也可以,没有核对的README可以备注一下内容来自模型,如有差异请提issues或PR
Colin
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年12月11日(星期三) 下午2:59
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [colinin/abp-next-admin] This PR adds both Chinese and English versions of the README.md file to improve the project's accessibility and global reach. (PR #1049)
@feijie999 commented on this pull request.
In aspnet-core/framework/data-protection/LINGYUN.Abp.DataProtection.Abstractions/README.md:
> +## 数据操作类型 + +* `DataAccessOperation.Read` - 查询操作 +* `DataAccessOperation.Write` - 更新操作 +* `DataAccessOperation.Delete` - 删除操作 + +## 数据过滤 + +* `DataAccessFilterLogic` - 数据过滤逻辑 + * `And` - 且 + * `Or` - 或 +* `DataAccessFilterRule` - 数据过滤规则 + * `Field` - 字段名 + * `Value` - 字段值 + * `Operate` - 操作符 + * `IsLeft` - 是否左括号
目前项目模块太多了,如果对于每一个项目中的readme进行工人校验成本太大。我打算通过ai把所有模块生成readme后再去docs文件夹汇总各个模块组的readme。至于通过AI生成的项目级别的readme可以再后期逐步维护
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
已完成对所有的模块项目添加中英文readme.md。下一步计划考虑给每一个项目readme.md加上由AI生成的提示,这我需要写一个工具来读取整个仓库的所有readme.md,然后再恰当的位置写入提示”注意:此内容为AI模型分析代码后自动生成,如有差异请提issues或PR“ |
(cherry picked from commit 239ad14)
🔄 rename(appsettings.Development.json): 重命名开发环境配置文件为 appsettings.MySql.json 🔧 update(SingleMigrationsDbContextFactory.cs): 更新数据库上下文工厂以使用 MySql 配置文件
此分支还有要提交的吗,没有的话我这两天看看合并了 |
这个分支主要是readme的编写,可以只合并readme相关的提交。另外一个main分支的pr是用于在单项目启动时支持pgsql和sqlserver的支持,包括一些启动说明的readme |
Key points: