How to do mutations

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [X] Documentation issue or request

Environment

  • [X] Self hosted with docker
  • [X] Self hosted with IIS
  • [X] Self hosted with kestrel
  • [X] Cloud version

Version: master branch, docker image squidex/squidex:latest, cloud version

Browser:

  • [X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Description

I don’t know how to do a GraphQL mutation using Squidex. The only documentation I found is an image on Medium saying that mutations are live with Squidex 3.0, which is live since July iirc.

input: mutation{ asdf }

output: { "errors": [ { "message": "Schema is not configured for mutations" } ] }

Mutations are not supported yet. I had to disable them due to performance issues with the graphql library.

Edit: Here is my issue: https://github.com/graphql-dotnet/graphql-dotnet/issues/684

Here is the last commit: https://github.com/Squidex/squidex/tree/dd89947fa546f8ab6aa18ecd1bc9d33634ce27af/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types

It seems that the issue in graphql-dotnet library is fixed.
Is there a plan to re-enable mutations in squidex now?

I was not aware of that. Sooner or later: Yes. But it is a lot of work and it does not provide that much value.