Sha256: 31a6a3d2470609b08f699079f313d7fa071e643b6188b4599ea4788e050df53c

Contents?: true

Size: 151 Bytes

Versions: 5

Compression:

Stored size: 151 Bytes

Contents

class <%= type_ruby_name %> < Types::BaseUnion
<% if possible_types.any? %>  possible_types [<%= normalized_possible_types.join(", ") %>]
<% end %>end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
graphql-1.8.6 lib/generators/graphql/templates/union.erb
graphql-1.8.5 lib/generators/graphql/templates/union.erb
graphql-1.8.4 lib/generators/graphql/templates/union.erb
graphql-1.8.3 lib/generators/graphql/templates/union.erb
graphql-1.8.2 lib/generators/graphql/templates/union.erb