query {
myCustomLambdaQuery {
id
relatedType {
id
}
}
}
it will fail because the lambda returns null for relatedType. This seems like a pretty big limitation, because I don’t see a way to anticipate how someone will use the query (e.g. how deep they go in the graph). Am I missing something here?
Hi @repomaa, what is your myCustomLambdaQuery ? does it return anything for relatedtype field.
I think you should be able to query nested field if the object lamda server returns have that field.
I think there is already a story for this somewhere. Basically, if you are expecting a lambda to return a type, then returning a set of uids from the lambda should cause dgraph to look up the relevant records