api-platform / api-platform/docs

Graphql documentation

Aperta
#2,310 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
181
Fork
1.1k
Merge medio
1g 16h
PR unite (30g)
20

Descrizione

The Graphql support part of the documentation recommends to use resolvers for [custom queries](https://api-platform.com/docs/core/graphql/#custom-queries) and [mutations](https://api-platform.com/docs/core/graphql/#custom-mutations).

At the same time, the beginning of the Workflow of the resolvers part recommends to see [Extending API Platform](https://api-platform.com/docs/core/extending/) documentation for more information.

The last part seems more relevant to me and more up-to-date with nowadays best pratices. I'm willing to rewrite this part using DTO, Processor and Provider to follow API Platform docs, and let the Resolver part as an alternate way to do (but not the first one). Before that, I would like to be sure if it the way to go. Can someone confirm ?

Thanks

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.