Azure / Azure/data-api-builder
[Enh]: For auto-config entities support keyless views
- 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
Assessment
This issue has not been assessed yet.