Sha256: 04a9052a753970a687c5857da1a0565ca9dc361bcb25b46986cffbc0db5b4e0a
Contents?: true
Size: 529 Bytes
Versions: 50
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms class AnswerOptionType < Decidim::Api::Types::BaseObject description "An answer option for a multi-choice question in a questionnaire" field :id, GraphQL::Types::ID, "ID of this answer option", null: false field :body, Decidim::Core::TranslatedFieldType, "The text answer response option.", null: false field :free_text, GraphQL::Types::Boolean, "Whether if this answer accepts any free text from the user.", null: false end end end
Version data entries
50 entries across 50 versions & 1 rubygems