Sha256: 0fd8aef50890c09417a54d10a65f5c3b773c8d3fb080801eb785b842faaca2d8

Contents?: true

Size: 319 Bytes

Versions: 17

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true
module Decidim
  module Comments
    # This type represents a mutation to create new comments.
    AddCommentType = GraphQL::ObjectType.define do
      name "Add comment"
      description "Add a new comment"

      field :comment, CommentType, "The new created comment"
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
decidim-comments-0.1.0 lib/decidim/comments/api/add_comment_type.rb
decidim-0.1.0 decidim-comments/lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.0.8.1 lib/decidim/comments/api/add_comment_type.rb
decidim-0.0.8.1 decidim-comments/lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.0.7 lib/decidim/comments/api/add_comment_type.rb
decidim-0.0.7 decidim-comments/lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.0.6 lib/decidim/comments/api/add_comment_type.rb
decidim-0.0.6 decidim-comments/lib/decidim/comments/api/add_comment_type.rb
decidim-comments-0.0.5 lib/decidim/comments/api/add_comment_type.rb
decidim-0.0.5 decidim-comments/lib/decidim/comments/api/add_comment_type.rb
decidim-0.0.4 decidim-comments/app/types/decidim/comments/add_comment_type.rb
decidim-comments-0.0.3 app/types/decidim/comments/add_comment_type.rb
decidim-0.0.3 decidim-comments/app/types/decidim/comments/add_comment_type.rb
decidim-comments-0.0.2 app/types/decidim/comments/add_comment_type.rb
decidim-0.0.2 decidim-comments/app/types/decidim/comments/add_comment_type.rb
decidim-comments-0.0.1 app/types/decidim/comments/add_comment_type.rb
decidim-0.0.1 decidim-comments/app/types/decidim/comments/add_comment_type.rb