Open
Description
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 || []
),
- Node.js version: v18
- NPM version:
- Strapi version: 4.9.0
- Database: postgres
- Operating system: Mac
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels