You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to access the selectionSet from the Resolver ? #104
As far as I remember, Graphiti doesn’t expose it, but the lower level GraphQL resolver exposes it. It is possible to provide that API, but it would make Graphiti’s API less concise. So back in the day I opted to not export it. Out of curiosity, why do you need it?
I use it to know if I should explicitely pull the child information from the database. Since I have a large volume of data, I need to pull them in batch.
I am not sure how to handle it when using Vapor Fluent, to decide whether to pull the relationship or not based on the graphQL query.
Activity
paulofaria commentedon Feb 24, 2023
As far as I remember, Graphiti doesn’t expose it, but the lower level GraphQL resolver exposes it. It is possible to provide that API, but it would make Graphiti’s API less concise. So back in the day I opted to not export it. Out of curiosity, why do you need it?
Samsv77 commentedon Feb 24, 2023
I use it to know if I should explicitely pull the child information from the database. Since I have a large volume of data, I need to pull them in batch.
I am not sure how to handle it when using Vapor Fluent, to decide whether to pull the relationship or not based on the graphQL query.
ZirgVoice commentedon Feb 24, 2023
Use DataLoader there is an example