Class: Ecoportal::API::GraphQL::Query::PersonMembers

Inherits:
Logic::QueryConnection show all
Defined in:
lib/ecoportal/api/graphql/query/person_members.rb

Overview

Lists PersonMember nodes for the current organization via the GraphQL-native organization.personMembers connection.

This is the GraphQL-native people-directory path. It is INDEPENDENTLY USEFUL (it fills the long-standing gap flagged in model/organization.rb) but note: it is NOT the SCIM-sourced People replacement that customer integrations are migrating to before the APIv0 retirement, whose deadline has passed. That port is scoped in the ecoportal-scim gem, project apiv0-people-adapter -- not here.

The default node selection intentionally inlines the fields declared on Base::PersonMember rather than a spread :PersonMember, because no PersonMember fragment is registered yet (a spread of an unregistered fragment raises at render time).

Method Summary

Methods inherited from Logic::QueryConnection

#each, #response_class