Sha256: 02f7f01db8e283865bc73c41420c8b52ea5c4a473cf625e7078416f8f88250b1

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true
require 'rails/generators/base'
require_relative 'core'
require_relative 'relay'

module Graphql
  module Generators
    class RelayGenerator < Rails::Generators::Base
      include Core
      include Relay

      desc "Add base types and fields for Relay-style nodes and connections"
      source_root File.expand_path('../templates', __FILE__)

      def install_relay
        super
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql-1.12.4 lib/generators/graphql/relay_generator.rb