Given the simplistic code below:
@ObjectType('Bar')
export class Foo {}
@Resolver(() => Foo)
class FooResolver {
@RelayedQuery(() => Foo)
public myQuery() {}
}
EXPECTED BEHAVIOR:
type Query {
myQuery: BarCollection!
}
type BarCollection {
edges: [BarEdge]!
}
CURRENT BEHAVIOR:
type Query {
myQuery: FooCollection!
}
type FooCollection {
edges: [FooEdge]!
}
Given the simplistic code below:
EXPECTED BEHAVIOR:
CURRENT BEHAVIOR: