Sha256: d5b2471ff9daa148310cdf8a6abbe4d6b40d4e6d92ee0492e4b85611aa3f32db
Contents?: true
Size: 503 Bytes
Versions: 38
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Decidim module Core CategoryType = GraphQL::ObjectType.define do name "Category" description "A category that can be applied to other resources." field :id, !types.ID field :name, !TranslatedFieldType, "The name of this category." field :subcategories, !types[Decidim::Core::CategoryType], "Subcategories of this category." field :parent, Decidim::Core::CategoryType, "This category's parent category." end end end
Version data entries
38 entries across 38 versions & 1 rubygems