Class: Graphql::Generators::InterfaceGenerator
- Inherits:
 - 
      TypeGeneratorBase
      
        
- Object
 - Rails::Generators::NamedBase
 - TypeGeneratorBase
 - Graphql::Generators::InterfaceGenerator
 
 
- Defined in:
 - lib/generators/graphql/interface_generator.rb
 
Overview
Generate an interface type by name, with the specified fields.
rails g graphql:interface NamedEntityType name:String!
Method Summary
Methods inherited from TypeGeneratorBase
#create_type_file, normalize_type_expression
Methods included from Core
#create_dir, #insert_root_type, #module_namespacing_when_supported, #schema_file_path