Class: GraphitiGql::Schema::RelayConnectionExtension
- Inherits:
-
GraphQL::Schema::Field::ConnectionExtension
- Object
- GraphQL::Schema::Field::ConnectionExtension
- GraphitiGql::Schema::RelayConnectionExtension
- Defined in:
- lib/graphiti_gql/schema.rb
Instance Method Summary collapse
- #apply ⇒ Object
- #resolve(object:, arguments:, context:) {|object, next_args, arguments| ... } ⇒ Object
Instance Method Details
#apply ⇒ Object
65 66 67 |
# File 'lib/graphiti_gql/schema.rb', line 65 def apply super if [:resource].paginatable end |
#resolve(object:, arguments:, context:) {|object, next_args, arguments| ... } ⇒ Object
69 70 71 72 |
# File 'lib/graphiti_gql/schema.rb', line 69 def resolve(object:, arguments:, context:) next_args = arguments.dup yield(object, next_args, arguments) end |