dgraph
dgraph copied to clipboard
let math function support GraphQL Variables.
What you wanted to do
GraphQL Variables can be used in math function
What you actually did
We use GraphQL Variables to input a float value $a to the Dgraph query , and want to do some calculation with math function, e.g. : math($a + 1.23)
Why that wasn't great, with examples
Currently it doesn't work.
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.
Github issues have been deprecated. This issue has been moved to discuss. You can follow the conversation there and also subscribe to updates by changing your notification preferences.
