Open fsyntax opened 9 months ago
Just for references: #2980 and #2987
I'm facing the same issue, are there any news on this ?
I am also having this exact issue with relationships not being populate when using locale=all. I must choose between making multiple calls to the database to fill in the missing data or loading each locale individually. Thanks for updating us!
@fsyntax I wasn't able to reproduce this. Do you still have a repo with an example?
Link to reproduction
https://github.com/fsyntax/payload/tree/locale-depth
Describe the Bug
The
depth
parameter doesnt seem to have any impact when fetching collections withlocale=all
.To Reproduce
http://localhost:3000/api/page/1?locale=de&draft=true&depth=1
-heroButtons[0].link.value
contains i.e._status
http://localhost:3000/api/page/1?locale=all&draft=true&depth=1
-heroButtons.de/en[0].link.value
only contains the page ID anymore, regardless of the given depth valuePayload Version
2.9.0
Adapters and Plugins
db-postgres, bundler-webpack