[MGNLREST-604] DOC: New depthInReferencedNode property Created: 04/Jan/23 Updated: 23/Oct/23 Resolved: 24/Jan/23 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Martin Drápela | Assignee: | Martin Drápela |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||
| Epic Link: | REST Maintenance | ||||||||||||||||
| Sprint: | DevX 29 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Team: | |||||||||||||||||
| Work Started: | |||||||||||||||||
| Description |
|
For info, see Example config:
references:
- name: referenceToParentWithDefaultDepthInReferencedNode
propertyName: tourFinder
referenceResolver:
class: info.magnolia.rest.reference.jcr.JcrReferenceResolverDefinition
targetWorkspace: website
depthInReferencedNode: 1
For another example config: can find in https://jira.magnolia-cms.com/browse/MGNLREST-608?focusedId=337617&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-337617
depthInReferencedNode default is -1 for backward compatible |