lib/graphql-docs/helpers.rb in graphql-docs-1.4.0 vs lib/graphql-docs/helpers.rb in graphql-docs-1.4.1

- old
+ new

@@ -19,9 +19,13 @@ def markdownify(string) return '' if string.nil? ::CommonMarker.render_html(string, :DEFAULT).strip end + def graphql_root_types + @parsed_schema[:root_types] || [] + end + def graphql_operation_types @parsed_schema[:operation_types] || [] end def graphql_mutation_types