#1658 - ENH: Add label to ProfileLocation and use as default query label

- Extend/propagate the label from the origin query to secondary queries
(appending the relative path).
This commit is contained in:
rob bygrave
2019-03-27 12:57:36 +13:00
parent fc032c632b
commit f8b97ff397
4 changed files with 38 additions and 4 deletions
@@ -43,6 +43,7 @@ public class DLoadBeanContext extends DLoadBaseContext implements LoadBeanContex
protected void configureQuery(SpiQuery<?> query, String lazyLoadProperty) {
setLabel(query);
parent.propagateQueryState(query, desc.isDocStoreMapped());
query.setParentNode(objectGraphNode);
query.setLazyLoadProperty(lazyLoadProperty);