The dql has many features that the GraphQL API cannot do. If custom dql does not support mutation, it will bring a lot of difficulties and even have to give up the GraphQL API.
The initial aim for adding custom DQL was just to give you the ability to perform complex DQL queries like aggregations, multiple var blocks and such. We didnāt support custom DQL mutations for the sake of simplification but we can definitely do that.
Infact, you could right now define a GraphQL query which ultimately does a DQL upsert and that would work. We will be looking into supporting this as well.
Hi, I also have a similar use case. I find it very strange and not very homogeneous to have this option for queries and not for mutations. Are you planning to add this option in the future?
Why have you decided not to support custom DQL mutations? Would really appreciate an explanation here. Makes sense to me to have as much of my API, ideally all of it, defined in one placeārather than have backend logic spread across the schema as well as lambda functions.