You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on updating an old Payload 1 admin panel to version 3 and am seeing a discrepancy in the way that the global collections api is working on responding to requests. The old version of the panel, up until and including Payload 2 would return me the actual document details for relationship field according to depth and maxdepth specified correctly, the newer payload 3 does not do this. It fails to return to me any of the document details that i expect.
This is from payload v2 for the same global collection with a depth of 1:
Anyone that has any idea why this is happening? Initially I thought it would just be to do with the depth or max depth but that does not seem to change anything?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently working on updating an old Payload 1 admin panel to version 3 and am seeing a discrepancy in the way that the global collections api is working on responding to requests. The old version of the panel, up until and including Payload 2 would return me the actual document details for relationship field according to depth and maxdepth specified correctly, the newer payload 3 does not do this. It fails to return to me any of the document details that i expect.
This is from payload v2 for the same global collection with a depth of 1:
The same code in payload v3 gives me a shallower response without the actual page details:
Anyone that has any idea why this is happening? Initially I thought it would just be to do with the depth or max depth but that does not seem to change anything?
Beta Was this translation helpful? Give feedback.
All reactions