-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete image from CMS admin breaks GraphQL queries #7186
Comments
Same here, for me this is a rather big problem. I would appreciate a fix for this on CMS side. Can the team acknowledge this and probably hint at how we can get this fixed? |
also related to #7120 |
i ended up with a work around
}; |
Hello
i created a simple image field at cms
when i deleted the image from cms admin
its sets to empty on my json file
{ image:"} and start to got this error message
Field "image" must not have a selection since type "String" has no subfields Please replace with a clear and descriptive title
from graphql queries at page
there is a way to tell the widget to remove the field from json file
i already have the custom type defined
gastby-node.js
at exports.createSchemaCustomization
like this
and graphql query at page is
also i tried to create a custom resolver
at gastby node.js
exports.createResolvers
The text was updated successfully, but these errors were encountered: