Closed AlanFoster closed 5 years ago
I've created a branch here as an example of the updated syntax, and the two queries:
Any help would be appreciated :+1:
Hey thanks for reporting. Will try to fix this in this weeked.
Hey, the solution is to change the type in the search resolver to Types::CategoryType.connection_type
:
module Resolvers
class CategorySearch < Resolvers::BaseSearchResolver
type Types::CategoryType.connection_type
Hey, I've just tried updating to the latest GraphQL Ruby Syntax and I've had no luck with
.connection_type
being specified:When run the following query for
categories_not_working
within graphiql it responds with a stack trace:Text:
But not supplying
connection_type
works as expected: