Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Plugin does not support publish/draft from strapi #185

Closed
cempesket opened this issue Mar 22, 2021 · 2 comments · Fixed by #217
Closed

Plugin does not support publish/draft from strapi #185

cempesket opened this issue Mar 22, 2021 · 2 comments · Fixed by #217

Comments

@cempesket
Copy link

There is no way to have draft/publish system with gatsby/strapi at the moment.

We need to publicationState=preview option in the configs.

I did it in this pull request

@dvakatsiienko
Copy link

This is definitely the feature that should be enabled by default. Please add it to the core!

@remidej
Copy link
Contributor

remidej commented May 21, 2021

Hello, this is now possible with the new v1 release of the plugin. We provide a new option that allows you to set your API query parameters for each content type. So you can now set publicationState as preview in your config.

However, this was undocumented, so I opened #217 to add an example to the readme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants