Sha256: db49529ed2d0a18dfb07f9c51ff26e51439f4437d9958b7e796b8be02b2fd6b0

Contents?: true

Size: 370 Bytes

Versions: 26

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Api
    # Main GraphQL schema for decidim's API.
    Schema = GraphQL::Schema.define do
      query QueryType
      mutation MutationType

      default_max_page_size 50
      max_depth 10
      max_complexity 300

      orphan_types(Api.orphan_types)

      resolve_type ->(_type, _obj, _ctx) {}
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
decidim-api-0.11.2 lib/decidim/api/schema.rb
decidim-api-0.12.0.pre app/types/decidim/api/schema.rb
decidim-api-0.11.1 lib/decidim/api/schema.rb
decidim-api-0.11.0.pre1 lib/decidim/api/schema.rb
decidim-api-0.10.1 lib/decidim/api/schema.rb
decidim-api-0.10.0 lib/decidim/api/schema.rb