Azure / Azure/data-api-builder

Store graphQL query field names in Entity object to avoid duplicate determination

Open
#753 1 comment 0 reactions 1 assignee Claimed by @severussundar View on GitHub
refactor
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

DAB startup validates that no two entities define GraphQL.Singular/GraphQL.Plural with overlapping values. e.g. GraphQL Query Fields (`entity_by_pk` and `entities`) are not duplicated.

A separate startup step, GraphQL schema generation, reevaluates the query field names.

The above two operations perform redundant operations. DAB should remember the query field names the first time they are resolved and re-use those values in any subsequent validations/startup operations to avoid re-calculation.

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.