Closed ghardin1314 closed 7 months ago
@JarrodMFlesch have you had a chance to look at this yet? Its the main issue from allowing us to use this in production.
I created a minimal reproduction pulled from our code here with instructions
Hey @ghardin1314, this repo will soon be archived because it's been merged into the main Payload repo here: https://github.com/payloadcms/payload/tree/main/packages/next. Payload 3.0 ships with native support for Next.js and is currently out in beta here: https://github.com/payloadcms/payload-3.0-demo. I'm going to close this issue now but feel free to keep the conversation going either as a GitHub Discussion or on Discord. If think issue persists, feel free to open a new ticket on either the demo repo or the monorepo with the 3.x-beta
label, and be sure to include a reproduction so we can fix it faster.
When setting
drafts: true
on my collection, for each record in the collection its shows the drafts for every other record in the same collection. This doesn't seem to happen on a server deployment of payload so I think it has to do with the route handler in this package.Checking the network requests I see
which decoded is (and seems correct)
The api response I am getting is
as you can see, the filtering by parent does not seem to be working properly