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.18.1 app/types/decidim/api/schema.rb
decidim-api-0.17.2 app/types/decidim/api/schema.rb
decidim-api-0.18.0 app/types/decidim/api/schema.rb
decidim-api-0.17.1 app/types/decidim/api/schema.rb
decidim-api-0.16.1 app/types/decidim/api/schema.rb
decidim-api-0.17.0 app/types/decidim/api/schema.rb
decidim-api-0.16.0 app/types/decidim/api/schema.rb
decidim-api-0.15.2 app/types/decidim/api/schema.rb
decidim-api-0.15.1 app/types/decidim/api/schema.rb
decidim-api-0.15.0 app/types/decidim/api/schema.rb
decidim-api-0.14.4 app/types/decidim/api/schema.rb
decidim-api-0.14.3 app/types/decidim/api/schema.rb
decidim-api-0.14.2 app/types/decidim/api/schema.rb
decidim-api-0.14.1 app/types/decidim/api/schema.rb
decidim-api-0.13.1 app/types/decidim/api/schema.rb
decidim-api-0.12.2 app/types/decidim/api/schema.rb
decidim-api-0.13.0 app/types/decidim/api/schema.rb
decidim-api-0.12.1 app/types/decidim/api/schema.rb
decidim-api-0.13.0.pre1 app/types/decidim/api/schema.rb
decidim-api-0.12.0 app/types/decidim/api/schema.rb