Skip to content

let math function support DQL Variables. #4309

@zhaodengchang

Description

@zhaodengchang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/querylang/varsIssues related to queries with GraphQL variableskind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions