Azure / Azure/data-api-builder

[Enh]: Include fields in `describe_entities` from metadata when not in `fields[]`.

Open
#3,573 0 comments 0 reactions 0 assignees View on GitHub
2.x cri
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 22h
Merged PRs (30d)
9

Description

## What?

Today fields are only included in `describe_entities` when the `fields[]` property includes them.

This enhancement includes fields (based on the role) in `describe_entities` from `fields[]` as the primary source and the database metadata as the secondary source.

This ensures every field is always included in `describe_entities`.

(internal reference: tribat)

Contributor guide

Open the contributing guide

Research direction

Start at the describe_entities entry point and trace how fields[] and database metadata are combined for the requested role. Verify the behavior for fields present only in metadata; done means every role-available field is included, with fields[] taking precedence over metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.