From 246df3274b089b3a57b8caf50409b08e3a5f626e Mon Sep 17 00:00:00 2001 From: thread Date: Fri, 5 Feb 2021 15:47:11 -0500 Subject: [PATCH] tweak to appease dialyzer --- lib/paginator/page/metadata.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/paginator/page/metadata.ex b/lib/paginator/page/metadata.ex index b08dcd1..d4ccad2 100644 --- a/lib/paginator/page/metadata.ex +++ b/lib/paginator/page/metadata.ex @@ -18,8 +18,8 @@ defmodule Paginator.Page.Metadata do after: opaque_cursor() | nil, before: opaque_cursor() | nil, limit: integer(), - total_count: integer(), - total_count_cap_exceeded: boolean() + total_count: integer() | nil, + total_count_cap_exceeded: boolean() | nil } defstruct [:after, :before, :limit, :total_count, :total_count_cap_exceeded]