Azure / Azure/data-api-builder
Failure of read database policy for related entity in multiple create for N:1 and 1:1 relationships returns error
未关闭
还没有人认领这个 Issue。
bug
Multiple mutations
- 主要语言
- C#
- 星标
- 1.5k
- 派生
- 372
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 9
描述
For N:1 and 1:1 relationships where the read policy prohibits returning the result of the insertion in the related entity, we get an exception:

In the config, the policy for read operation is defined as:

贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先复现一个涉及 N:1 或 1:1 关系的批量创建操作,其中相关实体具有严格的读取策略。跟踪当该策略阻止返回插入结果时如何处理该结果;完成标准是该操作不再引发报告的异常,并且读取策略仍然得到执行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- api, authorization, databases
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100