Relay'd Query
Similarly we might need to paginate a Query
field using AutoRelay but have complete control over the business logic and fetching. AutoRelay offers @RelayedQuery
for that.
Notice the API is exactly the same as @RelayedFieldResolver
. Just like in vanilla type-graphql @RelayedQuery
is nothing more than an alias for calling @RelayedFieldResolver
on a field of the Query
Object.
Last updated
Was this helpful?