Despite using the depth parameter, Lexical rich text relationship nodes are not populated with paginated queries. e.g. https://yourapp.payloadcms.app/api/posts. However, when fetching individual articles the relationships are populated.
To get around this issue, add a repopulate option to collections. Note that this is only supported when querying locales. The logic is a bit messy and a refactor is needed, but keeping it as-is for now in case this is not expected behaviour and gets resolved through Payload CMS.
Despite using the depth parameter, Lexical rich text relationship nodes are not populated with paginated queries. e.g.
https://yourapp.payloadcms.app/api/posts
. However, when fetching individual articles the relationships are populated.To get around this issue, add a
repopulate
option to collections. Note that this is only supported when querying locales. The logic is a bit messy and a refactor is needed, but keeping it as-is for now in case this is not expected behaviour and gets resolved through Payload CMS.See discussion at https://discord.com/channels/967097582721572934/1163849822382596137.