From c50d232a9333810add6e3429c428137a20b9c2ae Mon Sep 17 00:00:00 2001 From: Xavier Barbosa <clint.northwood@gmail.com> Date: Fri, 23 Aug 2019 07:50:02 +0200 Subject: [PATCH] Update `Absinthe.Relay.Connection.from_query` spec The `max` keyword was missing. It will fix dialer errors as described in absinthe-graphql/absinthe_relay#133. --- lib/absinthe/relay/connection.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/absinthe/relay/connection.ex b/lib/absinthe/relay/connection.ex index c1c829c..8735d88 100644 --- a/lib/absinthe/relay/connection.ex +++ b/lib/absinthe/relay/connection.ex @@ -434,7 +434,8 @@ defmodule Absinthe.Relay.Connection do @type from_query_opts :: [ - count: non_neg_integer + count: non_neg_integer, + max: pos_integer ] | from_slice_opts