1

Can someone confirm for me that the current status of craftql (Craft 3.7) does not allow mutations that can save JSON content to entries?

2

GraphQL Mutations are indeed supported in Craft 3.7: https://craftcms.com/docs/3.x/graphql.html#mutations

3
  • Thx Ben. Yes but can you save a json string/object to a field in the syntax? I didn't think you could
    – joomkit
    Sep 19 at 14:36
  • You can save any string, so provided you JSON encode your object first, it should work.
    – Ben Croker
    Sep 19 at 18:27
  • It does! Thank you. I thought JSON wasn't supported but i think the JSON field/type isnt supported in mysql or as part of the Graph schema but encoded string works
    – joomkit
    Sep 20 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.