Struggling getting started with queries and setup

If you want to filter by a field, then you need to add @search directive on that field.

type person @withSubscription {
  id: ID!
  is_active: Boolean! @search
  start_date: DateTime!
}

Docs: https://dgraph.io/docs/graphql/schema/search/

1 Like