-
Alex Kalderimis authored
This separates out the responsibility of pagination from the relation, and is necessary to test resolvers using `Resolver.single` if they return an offset paginated relation. The reason for this is that the `single` resolver calls `super.first` (more or less), but on a connection, `#first` is the value of the `first:` argument, not the first item in the collection. For `BaseResolver.single` to work correctly with offset pagination, we need to return `relations` from `resolve`, not connections.
e8b0d6c5
Code owners
:
Mayra Cabrera, Sean McGivern, Dmitriy Zaporozhets (DZ), Kamil Trzciński, Robert Speicher, Stan Hu, Rémy Coutable, Grzegorz Bizon, Douglas Barbosa Alexandre, Nick Thomas, Peter Leitzen, Michael Kozono, Ash McKenzie, Jan Provaznik, Luke Duncalfe, Bob Van Landuyt, Thong Kuah, James Lopez, Imre Farkas, Jarka Košanová, Heinrich Lee Yu, James Fargher, Dylan Griffith, Shinya Maeda, David Kim, Igor Drozdov, charlie ablett, Mikołaj Wawrzyniak, Markus Koller, Fabio Pitino, Etienne Baqué, Lin Jen-Shin, Patrick Bajao, Vitali Tatarintev, Mark Chao, Kerri Miller, Alper Akgun, Gabriel Mazetto, Saikat Sarkar, Matthias Käppler, Arturo Herrero, David Fernandez, Alex Kalderimis, Nikola Milojevic, Dmitry Gruzd, Francisco Javier López, Doug Stull, Alex Pooley, Robert May, Tetiana Chupryna, Vasilii Iakliushin, Max Woolf, and Andy Soiron