Sha256: 0c27c0a7d765d4fdb16f9e997d1aa1436e4dd8e65937195b90fca2a7e184f2a9
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
module Types class QueryType < Ibrain::Types::BaseObject # Add `node(id: ID!) and `nodes(ids: [ID!]!)` include GraphQL::Types::Relay::HasNodeField include GraphQL::Types::Relay::HasNodesField # Add root-level fields here. # They will be entry points for queries on your schema. # Example with user resolvers # field :users, resolver: Resolvers::UsersResolver end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ibrain-core-0.1.1 | lib/generators/ibrain/install/templates/graphql/types/query_type.rb.tt |
ibrain-core-0.1.0 | lib/generators/ibrain/install/templates/graphql/types/query_type.rb.tt |