Sha256: 026ede921091577ad9d5e5022121ec244b05303769f6ff7b294a949719580c5e

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

module Rails
  module GraphQL
    # Several alternatives to declare GraphQL objects
    module Alternative
      extend ActiveSupport::Autoload

      autoload :Query
      autoload :Mutation
      autoload :Subscription

      autoload_at "#{__dir__}/alternative/query" do
        autoload :Field
      end

      autoload_at "#{__dir__}/alternative/field_set" do
        autoload :FieldSet
        autoload :QuerySet
        autoload :MutationSet
        autoload :SubscriptionSet
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-graphql-1.0.2 lib/rails/graphql/alternative.rb