You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
id
type1 {
subtype1 {
id
name
}
name
subtype2 {
id
}
subtype3 {
ebayPictureUrl
}
}
}
Using the code generated from this plugin would generate a ProjectionRoot, when traverse the project, once reach the nested projection, there is not a way to come back to the parent level and keep traversing
This way of building will not work
new QueryProjectRoot().
id()
.type1()
.subtype1()
.id()
// getParent() and getRoot() is returning Object so it can't be used to traverse back without casting
.subtype()
A work around seem to be manually build each level as a fileld projection itself but it will not be type/syntax safe
new QueryProjectRoot().
id().
getFields().put("type1", <type1projection building>)
The text was updated successfully, but these errors were encountered:
Consider a query with this structure
Using the code generated from this plugin would generate a ProjectionRoot, when traverse the project, once reach the nested projection, there is not a way to come back to the parent level and keep traversing
This way of building will not work
A work around seem to be manually build each level as a fileld projection itself but it will not be type/syntax safe
The text was updated successfully, but these errors were encountered: