field resolver on input types
- Lingua principale
- Go
- Stelle
- 10.8k
- Fork
- 1.3k
- Merge medio
- 2g 36m
- PR unite (30g)
- 26
Descrizione
### Discussed in https://github.com/99designs/gqlgen/discussions/2968
Originally posted by **trippel** March 13, 2024
Hey everyone,
from what I understand, field resolvers are executed concurrently and therefore, I cannot expect a certain order.
Now, what I see for field resolvers in queries, it seems that sub resolvers are executed after the root resolver, so that I can pass down values via extraFields.
I tried the same approach with a field resolver on an input type. Now, in this case the execution order is reverse, so that the field resolver always gets executed before the root resolver.
Is this intended behaviour or am I totally mistaken?
Thanks for any clarification in advance.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.