Azure / Azure/data-api-builder

[Enh]: For auto-config entities support keyless views

Open
#2,791 0 comments 3 reactions 0 assignees View on GitHub
2.2 auto-config azure-host ⛅ needs discussion
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

## What?

Allow for views without key fields.

## Why?

Read-only views shouldn't require keys and may not even have them.

## How?

This is dependent on index pagination as `$after` would not be supported. #2460

## Configuration

```json
{
"entities": {
"Actor": {
"source": {
"object": "dbo.Actor",
"type": "keyless-view"
}
"permissions": [
{
"role": "role-1",
"actions": "read"
},
{
"role": "role-2",
"actions": "*" // read
},
{
"role": "role-3",
"actions": "create" // error
}
]
}
}
}
```

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.