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]