No way to query with relation drafts. Relations always return published version. #3963
snackdex
started this conversation in
Feature Requests & Ideas
Replies: 2 comments 7 replies
-
Maybe fixed by #4784 ? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Relationships should be returned with the same |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Original Issue:
I'm trying to query the REST API for the draft version of a collection document. This returns the draft of the top level collection that I'm querying as expected, however any relationship fields only seem to return published resources. I've tried adding things like [report._status][equals]=draft which just returns an empty array, whereas if I try [report._status][equals]=published it returns the published relations back.
Discord thread
Beta Was this translation helpful? Give feedback.
All reactions