class GraphQL::Pagination::Connections

A schema-level connection wrapper manager.

Attach as a plugin.

See Schema.connections

Examples

Example: Adding a custom wrapper

class MySchema < GraphQL::Schema
  connections.add(MyApp::SearchResults, MyApp::SearchResultsConnection)
end

Example: Removing default connection support for arrays (they can still be manually wrapped)

class MySchema < GraphQL::Schema
  connections.delete(Array)
end