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 :
Ensures that relation collection values (such as media for sponsors) are properly fetched and returned.
Acceptance Criteria :
Relation collection values (e.g., media) should no longer return null and should be correctly fetched when querying global data.
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 :
media
forsponsors
) are properly fetched and returned.Acceptance Criteria :
media
) should no longer returnnull
and should be correctly fetched when querying global data.