-- in.cue --
root: input: foo: {
    metadata: name: *"foo" | string
    id: "id-\(metadata.name)"
    #deps: [string]: _
    #deps: root: {}
    spec: replicas: 1
}
{root.input.foo.#deps}

@test(eq, {
	root: input: foo: {
		metadata: name: *"foo" | string
		id: "id-foo"
		#deps: root: {}
		spec: replicas: 1
	}
})
-- out/eval/stats --
Leaks:  0
Freed:  13
Reused: 2
Allocs: 11
Retain: 0

Unifications: 11
Conjuncts:    21
Disjuncts:    2
Notifications: 1

NumCloseIDs: 3
-- out/diff-v2-v3.txt --
Disjunctions with defaults: needs @test(final) for default field selection
