Closed F21 closed 3 months ago
I also support this request. The rationale is the same as for GraphQL variables in queries: https://docs.dgraph.io/query-language/#graphql-variables
This looks like a reasonable feature request.
I'm tagging it as accepted, which means it will get into our backlog of features to consider.
If we decide to implement it, we'll post an update here.
This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.
Experience Report
What you wanted to do
I want to perform a mutation in an upsert block using user-provided data safely.
What you actually did
Why that wasn't great, with examples
GraphQL variables are not supported in mutations, so it's impossible to safely mutate user-provided data without error-prone validation.
Any external references to support your case
None at the moment.