lib/graphql-docs/layouts/graphql_unions.html in graphql-docs-1.2.0 vs lib/graphql-docs/layouts/graphql_unions.html in graphql-docs-1.3.0
- old
+ new
@@ -1,9 +1,7 @@
-# <%= type[:name] %>
+<h1><%= type[:name] %></h1>
+<%= include.('notices.html', notices: type[:notices]) %>
+
<%= type[:description] %>
-<% unless type[:possible_types].empty? %>
-
<%= include.('possible_types.html', possible_types: type[:possible_types]) %>
-
-<% end %>