Sha256: 0eec52fd07c29c8d506d48220f7a0aec253fa7615ce040d9a0bbd6b5b1354496
Contents?: true
Size: 589 Bytes
Versions: 31
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true module Decidim module Core class CategoryInputFilter < BaseInputFilter graphql_name "CategoryFilter" description "A type used for filtering any category objects" argument :parent_id, type: [ID, { null: true }], description: "Returns the sub-categories for the given parent category or top-level categories if set to `null`", required: false, prepare: lambda { |parent_id, _ctx| { parent_id: parent_id } } end end end
Version data entries
31 entries across 31 versions & 1 rubygems