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
Hi, team
I'm a newer to the dgs-framework and GraphQL. I've read the api doc and some source code of the dgs-framework. It is clear that if you add the @DgsData annotation to a class and that class will be defined as a datafetcher. But I just want to use the graphql.schema.AsyncDataFetcher to make the datafetcher work concurrently. But I don't know how to wapper the class annotated with @DgsData with the AsyncDataFetcher. Can you provide some demos or suggestions? Thank you for your reply.
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, team
I'm a newer to the dgs-framework and GraphQL. I've read the api doc and some source code of the dgs-framework. It is clear that if you add the
@DgsData
annotation to a class and that class will be defined as a datafetcher. But I just want to use thegraphql.schema.AsyncDataFetcher
to make the datafetcher work concurrently. But I don't know how to wapper the class annotated with@DgsData
with theAsyncDataFetcher
. Can you provide some demos or suggestions? Thank you for your reply.Beta Was this translation helpful? Give feedback.
All reactions