class Graphql::Generators::ScalarGenerator

Generate a scalar type by given name.

“‘ rails g graphql:scalar Date “`

Private Instance Methods

graphql_type() click to toggle source
# File lib/generators/graphql/scalar_generator.rb, line 17
def graphql_type
  "scalar"
end