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

Open
#2,196 1 comment 0 reactions 0 assignees View on GitHub
bug Multiple mutations
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

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:

![image](https://github.com/Azure/data-api-builder/assets/34566234/80a05ca2-f7da-4701-ba58-5e10341806e1)

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

![image](https://github.com/Azure/data-api-builder/assets/34566234/5c395e1e-d4bf-446a-9739-47e59a650903)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.