lib/generators/graphql/templates/interface.erb in graphql-1.8.2 vs lib/generators/graphql/templates/interface.erb in graphql-1.8.3
- old
+ new
@@ -2 +1,2 @@
-class <%= type_ruby_name %> < Types::BaseInterface
+module <%= type_ruby_name %>
+ include Types::BaseInterface
<% normalized_fields.each do |f| %> <%= f.to_ruby %>