Sha256: a79c732432c09212a45f3cf5b325b1cf69c58d3522d1f149bd185a42f6dea0f4
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
module Ecoportal module API class GraphQL module Query class ContractorEntities < Ecoportal::API::GraphQL::Logic::QueryConnection field_name :contractorEntities class_resolver :item_class, Ecoportal::API::GraphQL::Model::ContractorEntity class_resolver :connection_class, Ecoportal::API::GraphQL::Connection::ContractorEntity private def basic_block(&block) connection_block = block || default_connection_block proc { query(searchConf: :Search, after: :string, before: :string, first: :int, last: :int) { currentOrganization { contractorEntities( searchConf: :searchConf, after: :after, before: :before, first: :first, last: :last, &connection_block ) } } } end def default_connection_block proc { totalCount pageInfo { endCursor } nodes { ___Ecoportal__API__GraphQL__Fragment__ContractorEntity } } end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecoportal-api-graphql-0.4.0 | lib/ecoportal/api/graphql/query/contractor_entities.rb |
ecoportal-api-graphql-0.3.16 | lib/ecoportal/api/graphql/query/contractor_entities.rb |