Skip to content

recursive query not expanding  #3634

@pjebs

Description

@pjebs

This is the same query/schema/data as #3582

I believe it is an independent issue but not sure: @martinmr

For the query:

q = `
		query withvar($hashid: string) {
			chain(func: eq(node.hashid, $hashid)) @recurse(loop:false) {
				uid
				node.owner
				user.name
				node.hashid
				node.xdata
				node.parent @facets @facets(eq(facet, "required") or eq(facet, "recommended"))
			}
		}
	`

When a node reappears deeper in, it is not expanding the node.owner. It correctly expands in earlier on.

Metadata

Metadata

Assignees

Labels

area/querylangIssues related to the query language specification and implementation.area/querylang/recurseRelated to the recurse directive.kind/enhancementSomething could be better.priority/P2Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions