Azure / Azure/data-api-builder

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

Aperta
#753 1 commento 0 reazioni 1 assegnatario Rivendicata da @severussundar Vedi su GitHub
refactor
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 22h
PR unite (30g)
9

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.