AbsintheUtils.Types.DateFilterTypes (absinthe_utils v0.3.0)
View SourceAbsinthe input objects for date and datetime filtering.
Usage:
Import the required type in your Absinthe schema.
import_types(AbsintheUtils.Scalars.StrictNaiveDateTime) import_types(AbsintheUtils.Types.DateFilterTypes)Use the
:date_filterand:datetime_filterinput objects in your queries or mutations. Example:input do field :created_at, :datetime_filter end