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
Account: {
transactions: async(account,args,context)=>{// return fetched data from other service},relationsasync(account,args,context)=>{// here i need to process transactions data on server side, as it is quite heavy// since quering that data once again is redundant, as it may already exist// if it not yet resolved - resolve it but do not include in requestreturnaccount.transactions.map(...)// Does not work: account.transactions === undefined}}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! 👋
How to get one's resolver resolved data from another resolver? Is it possible?
For example, I have such schema:
and resolvers:
Beta Was this translation helpful? Give feedback.
All reactions