Cascade directive remove the facets information

(Will) #1

Hi All.

I found that using @cascade directive will remove the facet information from the JSON response.

For example, adding the @cascade in the query will remove all the facets information. However, in some cases, I want to retain the facet information even if I use cascade directive.

  data(func: eq(name, "Alice")) @cascade{
     mobile @facets
     car @facets
  1. Why is this happening?
  2. Is there any way to get around this situation?