dgraph-io / dgraph

The high-performance database for modern applications
https://dgraph.io
Other
20.37k stars 1.5k forks source link

@filter works even inside a block #1727

Closed pawanrawal closed 6 years ago

pawanrawal commented 6 years ago
{
  bladerunner(func: anyofterms(name@en, "Blade Runner")) { @filter(le(initial_release_date, "2000"))
    _uid_
    name@en
    initial_release_date
    netflix_id
  }
}

works though it shouldn't @filter should be before {.

janardhan1993 commented 6 years ago

Fixed in master