Sha256: 30ae356e75412beb2de12dc669dd5f7512f6bf427c8bca19ff33a40323cd0d40
Contents?: true
Size: 512 Bytes
Versions: 10
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms AnswerOptionType = GraphQL::ObjectType.define do name "AnswerOption" description "An answer option for a multi-choice question in a questionnaire" field :id, !types.ID, "ID of this answer option" field :body, !Decidim::Core::TranslatedFieldType, "The text answer response option." field :freeText, !types.Boolean, "Whether if this answer accepts any free text from the user.", property: :free_text end end end
Version data entries
10 entries across 10 versions & 1 rubygems