Sha256: a01e093348bd2a2d7ff4f852b4387bac92cd01b4dde92dc35a6bca6b6a2ce5d9
Contents?: true
Size: 441 Bytes
Versions: 20
Compression:
Stored size: 441 Bytes
Contents
<% module_namespacing_when_supported do -%> class <%= schema_name %> < GraphQL::Schema query(Types::QueryType) <% if options[:batch] %> # GraphQL::Batch setup: use GraphQL::Batch <% end %> # Union and Interface Resolution def self.resolve_type(abstract_type, obj, ctx) # TODO: Implement this function # to return the correct object type for `obj` raise(GraphQL::RequiredImplementationMissingError) end end <% end -%>
Version data entries
20 entries across 20 versions & 1 rubygems