joas8211 / payload-tenancy

Multi-tenancy plugin for Payload CMS
MIT License
150 stars 11 forks source link

Fix/htw 293/fix depth issue get globals #46

Closed vrajpatelTH closed 1 month ago

vrajpatelTH commented 1 month ago

Fix: Resolve null values in relation collections when fetching global data

Description :

This PR addresses an issue where relation collections (e.g., media) are returning null values when fetching global data via GraphQL in Payload CMS's tenancy system. The issue seems to stem from global hooks affecting the retrieval of relational data.

Fix :

Acceptance Criteria :