-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support DQL variables in mutations #4615
Comments
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. |
Turns out, GraphQL variables are not yet supported in dgraph upserts. dgraph-io/dgraph#4615
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.
The text was updated successfully, but these errors were encountered: