dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

let math function support GraphQL Variables.

Open zhaodengchang opened this issue 5 years ago • 2 comments

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.

zhaodengchang avatar Nov 22 '19 05:11 zhaodengchang

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.

MichaelJCompton avatar Mar 11 '20 23:03 MichaelJCompton

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.

drawing

minhaj-shakeel avatar Jul 20 '20 19:07 minhaj-shakeel