Sha256: eccc625b015ab02729c04ad080a562eb42508e3c068f66f3ebad440715753f0a
Contents?: true
Size: 356 Bytes
Versions: 32
Compression:
Stored size: 356 Bytes
Contents
module GraphQL module Relay # Wrap a Connection and expose its page info PageInfo = GraphQL::ObjectType.define do name("PageInfo") description("Metadata about a connection") field :hasNextPage, !types.Boolean, property: :has_next_page field :hasPreviousPage, !types.Boolean, property: :has_previous_page end end end
Version data entries
32 entries across 32 versions & 1 rubygems