Sha256: 9a829e77132cde3e2686fa6c8a29ed1e6c8106d10d6885e5d102c0c1fdfc44b0

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

<h1><%= type[:name] %></h1>

<%= type[:description] %>

<h2>Input fields</h2>

<% if !type[:input_fields].empty? %>
  <%= include.('/fields.html', fields: type[:input_fields]) %>
<% else %>
  <p>None</p>
<% end %>

<h2>Return fields</h2>

<% if !type[:return_fields].empty? %>
  <%= include.('/fields.html', fields: type[:return_fields]) %>
<% else %>
  <p>None</p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-docs-1.0.0.pre1 lib/graphql-docs/layouts/graphql_mutations.html
graphql-docs-1.0.0.pre lib/graphql-docs/layouts/graphql_mutations.html