class Graphql::Generators::InputGenerator

Generate an input type by name, with the specified fields.

rails g graphql:object PostType name:string!