Class: Graphql::Generators::ScalarGenerator
- Inherits:
-
TypeGeneratorBase
- Object
- Rails::Generators::NamedBase
- TypeGeneratorBase
- Graphql::Generators::ScalarGenerator
- Defined in:
- lib/generators/graphql/scalar_generator.rb
Overview
Generate a scalar type by given name.
rails g graphql:scalar Date
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