class Graphql::Generators::InterfaceGenerator
Generate an interface type by name, with the specified fields.
“` rails g graphql:interface NamedEntityType name:String! “`
Private Instance Methods
fields()
click to toggle source
# File lib/generators/graphql/interface_generator.rb, line 22 def fields custom_fields end
graphql_type()
click to toggle source
# File lib/generators/graphql/interface_generator.rb, line 18 def graphql_type "interface" end