Sha256: 0ef45f41ec80c23a7df2ae9fea86cb5f5cff46035cb9161e3f2ef1201d6010ae

Contents?: true

Size: 396 Bytes

Versions: 8

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

<% module_namespacing_when_supported do -%>
class Types::Objects::<%= type_ruby_name.split('::')[-1] %> < Ibrain::Types::BaseObject
  implements Ibrain::Interfaces::RecordInterface

  description '<%= type_ruby_name.split('::')[-1] %>'
  graphql_name <%= type_model_name %>.table_name
  
<% normalized_fields.each do |f| %>  <%= f.to_ruby %>
<% end %>end
<% end -%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ibrain-core-0.5.15 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.13 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.12 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.10 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.9 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.8 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.7 lib/generators/ibrain/graphql/templates/object.erb
ibrain-core-0.5.6 lib/generators/ibrain/graphql/templates/object.erb