Draft: [graphql] Fix resolver type connections
What does this MR do and why?
In 2.x
of the graphql gem, the determination of whether a field considers itself is a connection has changed from
to
By default, the new code looks at the @resolver_class.type
. The changed files are expected to return a paginated connection, but if connection?
is not detecting it properly, then the necessary pagination class is not added.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brett Walker