Sha256: 62d888a88f39d4c7bea8eba0c5666e247c146f96c37e5e5b9a5898e7fdfe96c4
Contents?: true
Size: 389 Bytes
Versions: 14
Compression:
Stored size: 389 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 resolve_type lambda { |obj, _ctx| return Decidim::UserType if obj.is_a? Decidim::User return Decidim::UserGroupType if obj.is_a? Decidim::UserGroup } end end end
Version data entries
14 entries across 14 versions & 2 rubygems