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
The text was updated successfully, but these errors were encountered:
hafizasadabbas
changed the title
is there any way to user this query in graphql ?populate=versions&publicationState=preview
is there any way to use this query in graphql ?populate=versions&publicationState=preview
Jan 31, 2024
Need help
I want to get data for all versions through graphql but am not able to pass versions parameter,
.
Found in readme ?populate=versions&publicationState=preview
Steps to reproduce the behavior
Go to '/graphql'
write a query to get all versions by passing slug
Only published or latest draft data in response due to the following code in 'entity-service-decorator'
if (
isVersionedContentType(model) &&
params[VERSIONS_QUERY_FILTER] !== "all"
) {
wrappedParams.filters = {
$and: [{ isVisibleInListView: true }].concat(
wrappedParams.filters || []
),
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: