[ X ] Run the existing queries from prior to upgrade
I’m submitting a…
[ X ] Regression (a behavior that stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
Cannot run graphql commands using flatDataDraft anymore
Expected behavior
I expected to not break my app request when I wanted to preview content. When I query by flatDataDraft I should get the flatDataDraft otherwise if I do flatData I should get the published data.
Minimal reproduction of the problem
Make any simple graphql query using the FlatDataDraft and you will receive the following error message. “Cannot query field “flatDataDraft” on type “”. Did you mean “flatData”?”"
Oh no. This is an issue for us because we use the preview to view content changes before we make it public. This means we can no longer do that. The workflow the documentation highlights makes our code break and exposes changes to the public before it is ready. I guess I will need to roll back and rethink our strategy.
Perhaps i miss something, but this is how it works. I am demonstrating it with the REST endpoint, because it is faster, but it is the same story with GraphQL.
I see how it works now. I think I misunderstood and did not see the ‘New Draft’ button. This makes sense. Cool great then I think this can work. Thank you for your assistance Sebastian.