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
which gives me an updateSiteTree mutation. This mutation will write directly to the Live stage and there doesn't appear to be any option to write to Draft.
an example mutation would be:
mutationupdate($input: UpdateSiteTreeInput!) {
updateSiteTree(input:$input) {
id,
title
}
}
{
"input":
{"id":1, "title": "test update 2" }
}
I couldn't quite tell if this was intentional and extra config was required or if it was a bug? I assume writing to draft is supported in mutations.
tested on v5.0.0-beta2 but I believe it happens on v4 too
The text was updated successfully, but these errors were encountered:
GuySartorelli
changed the title
Default mutations on Versioned object write to Live stage
Default GraphQL mutations on Versioned object write to Live stage with no clear way to change that
Apr 10, 2023
If I set up a scaffolded mutation on a versioned object (on a 'default' schema) such as:
which gives me an
updateSiteTree
mutation. This mutation will write directly to the Live stage and there doesn't appear to be any option to write to Draft.an example mutation would be:
I couldn't quite tell if this was intentional and extra config was required or if it was a bug? I assume writing to draft is supported in mutations.
tested on v5.0.0-beta2 but I believe it happens on v4 too
The text was updated successfully, but these errors were encountered: